diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-06-11 09:29:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-11 09:29:51 -0700 |
commit | 709cd912d4663af87903d3d278a3bab9d4d84153 (patch) | |
tree | 416e3f1cbd0b50ef317b59bbb337f3a7bea72765 /diff.h | |
parent | 7974889a053574e449b55ca543a486e38e74864f (diff) | |
parent | b8767f791c15f119554c1466af60e4f2433ae971 (diff) | |
download | git-709cd912d4663af87903d3d278a3bab9d4d84153.tar.gz |
Merge branch 'jc/diff-ws-error-highlight'
Allow whitespace breakages in deleted and context lines to be also
painted in the output.
* jc/diff-ws-error-highlight:
diff.c: --ws-error-highlight=<kind> option
diff.c: add emit_del_line() and emit_context_line()
t4015: separate common setup and per-test expectation
t4015: modernise style
Diffstat (limited to 'diff.h')
-rw-r--r-- | diff.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -138,6 +138,11 @@ struct diff_options { int dirstat_permille; int setup; int abbrev; +/* white-space error highlighting */ +#define WSEH_NEW 1 +#define WSEH_CONTEXT 2 +#define WSEH_OLD 4 + unsigned ws_error_highlight; const char *prefix; int prefix_length; const char *stat_sep; |