t4015: use --color with --color-moved
commit269c73e8d3b0f95cb3acfd567069a032899ae3dc
authorJeff King <peff@peff.net>
Tue, 3 Oct 2017 13:41:51 +0000 (3 09:41 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Oct 2017 02:48:17 +0000 (4 11:48 +0900)
treedf677d72e9859603716ce8b4102c53f5bfe957ac
parent8fb8a945bc2dea2bb04249213ad8dacffbfc604f
t4015: use --color with --color-moved

The tests for --color-moved write their output to a file,
but doing so suppresses color output under "auto". Right now
this is solved by running the whole script under
"color.diff=always". In preparation for the behavior of
"always" changing, let's explicitly enable color.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4015-diff-whitespace.sh