Code

Give the hunk comment its own color
authorBert Wesarg <bert.wesarg@googlemail.com>
Fri, 27 Nov 2009 06:55:18 +0000 (07:55 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Nov 2009 18:05:44 +0000 (10:05 -0800)
commit89cb73a19ac94d15babf77af490fa5db78908234
treea5cb2dd04e1cfe72868cb475a12bc50d02f78d8e
parent06a4755270b86a2af20a5c1f0d785311472b5223
Give the hunk comment its own color

Inspired by the coloring of quilt.

Introduce a separate color and paint the hunk comment part, i.e. the name
of the function, in a separate color "diff.func" (defaults to plain).

Whitespace between hunk header and hunk comment is printed in plain color.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
combine-diff.c
diff.c
diff.h
t/t4034-diff-words.sh