Code

add--interactive: remove unused diff colors
authorJeff King <peff@peff.net>
Sun, 6 Jan 2008 04:24:09 +0000 (23:24 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jan 2008 02:41:44 +0000 (18:41 -0800)
commit50e3d1eeffefc8af58dbcf2ec79978ea375392b4
treedb6149e4a38be4a1646037a01c5d0ab5dcc670e6
parenta0393ef67679ea7720290bd45d9d628920df59f3
add--interactive: remove unused diff colors

When color support was added, we colored the diffs ourselves.
However, 4af756f3 changed this to simply run "git diff-files"
twice, keeping the colored output separately.

This makes the internal diff color variables obsolete with
one exception: when splitting hunks, we have to manually
recreate the fragment for each part of the split. Thus we
keep $fraginfo_color around to do that correctly.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl