Skip to content

Commit

Permalink
t4026 (color): remove unneeded and unchained command
Browse files Browse the repository at this point in the history
Ever since 8b12413 (color: allow multiple attributes 2010-02-27),
diff.color.new has been unused in t4026, so also remove the final unsetting
of that value to make the third to last test pass with appropriate
'&&' chaining.

Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Elijah Newren authored and Junio C Hamano committed Oct 6, 2010
1 parent 0564b3e commit 5935c58
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion t/t4026-color.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ test_expect_success 'extra character after attribute' '
'

test_expect_success 'unknown color slots are ignored (diff)' '
git config --unset diff.color.new
git config color.diff.nosuchslotwilleverbedefined white &&
git diff --color
'
Expand Down

0 comments on commit 5935c58

Please sign in to comment.