diff options
author | Junio C Hamano <junkio@cox.net> | 2006-09-22 22:48:39 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-24 00:12:44 -0700 |
commit | 448c3ef144b2f528bb6dc50153ac13cc2abbc3c4 (patch) | |
tree | 36481d3da41e8cb6b37c4da1e03ac126dd20de62 /diff.h | |
parent | ed1795fcc5f2aa3f105630429bcbed49c50053fa (diff) | |
download | git-448c3ef144b2f528bb6dc50153ac13cc2abbc3c4.tar.gz |
diff.c: second war on whitespace.
This adds DIFF_WHITESPACE color class (default = reverse red) to
colored diff output to let you catch common whitespace errors.
- trailing whitespaces at the end of line
- a space followed by a tab in the indent
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diff.h')
-rw-r--r-- | diff.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -86,6 +86,7 @@ enum color_diff { DIFF_FILE_OLD = 4, DIFF_FILE_NEW = 5, DIFF_COMMIT = 6, + DIFF_WHITESPACE = 7, }; const char *diff_get_color(int diff_use_color, enum color_diff ix); |