[PATCH 0/4] show-branch: add missing tests, trivial color output fix

From
Ævar Arnfjörð Bjarmason <hidden>
Date
2021-06-14 17:18:21
This is a series I've had lying around for a while, when looking at
the color output for show-branch I noticed it reset and re-enabled
color for every single space character.

This fixes that, but mostly fixes the mostly non-existing tests for
that old command it. It still has big blind spots, but now we have
fewer blind spots.

Ævar Arnfjörð Bjarmason (4):
  show-branch tests: rename the one "show-branch" test file
  show-branch tests: modernize test code
  show-branch: fix and test --color output
  show-branch tests: add missing tests

 builtin/show-branch.c          |   9 +-
 t/t3202-show-branch-octopus.sh |  70 ----------------
 t/t3202-show-branch.sh         | 149 +++++++++++++++++++++++++++++++++
 3 files changed, 155 insertions(+), 73 deletions(-)
 delete mode 100755 t/t3202-show-branch-octopus.sh
 create mode 100755 t/t3202-show-branch.sh

-- 
2.32.0.555.g0268d380f7b
Thread (16 messages) 16 messages, 3 authors, last reply 2021-06-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help