author | Jeff King <peff@peff.net> | |
Sun, 23 Jul 2006 09:24:18 +0000 (05:24 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 24 Jul 2006 07:04:41 +0000 (00:04 -0700) | ||
commit | ce43697379ad8ffcaf061a4709489728c1dbe911 | |
tree | 74db6123dc3f7d8547436f27c5e07b2c2ce81b0d | tree | snapshot |
parent | cbd64afbb3b1ad5433585ac71d94bd0c63270e38 | commit | diff |
Colorize 'commit' lines in log ui
When paging through the output of git-whatchanged, the color cues help to
visually navigate within a diff. However, it is difficult to notice when a
new commit starts, because the commit and log are shown in the "normal"
color. This patch colorizes the 'commit' line, customizable through
diff.colors.commit and defaulting to yellow.
As a side effect, some of the diff color engine (slot enum, get_color) has
become accessible outside of diff.c.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
When paging through the output of git-whatchanged, the color cues help to
visually navigate within a diff. However, it is difficult to notice when a
new commit starts, because the commit and log are shown in the "normal"
color. This patch colorizes the 'commit' line, customizable through
diff.colors.commit and defaulting to yellow.
As a side effect, some of the diff color engine (slot enum, get_color) has
become accessible outside of diff.c.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c | diff | blob | history | |
diff.h | diff | blob | history | |
log-tree.c | diff | blob | history |