@matheusbsbs / matheus-bagliano / commits / 5935c581df
Fork 0

t4026 (color): remove unneeded and unchained command

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>

Elijah Newren committed Oct 3, 2010 at 14:00 UTC 5935c581df1d908c8adc293d92a8bf1da5be9005
1 file changed -1
t/t4026-color.sh
-1
@@ -74,7 +74,6 @@ test_expect_success 'extra character after attribute' '
74 '
75
76 test_expect_success 'unknown color slots are ignored (diff)' '
77 - git config --unset diff.color.new
77 git config color.diff.nosuchslotwilleverbedefined white &&
78 git diff --color
79 '