diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-10-04 15:26:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-04 15:49:05 -0700 |
commit | a17505f262b62e429bb0e188c5ed73ac749e25b8 (patch) | |
tree | f50696174df4b24ce70883b4d89b301edb10215e /Documentation/diff-config.txt | |
parent | diff.c: move ws-error-highlight parsing helpers up (diff) | |
download | tgif-a17505f262b62e429bb0e188c5ed73ac749e25b8.tar.xz |
diff: introduce diff.wsErrorHighlight option
With the preparatory steps, it has become trivial to teach the
system a new diff.wsErrorHighlight configuration that gives the
default value for --ws-error-highlight command line option.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/diff-config.txt')
-rw-r--r-- | Documentation/diff-config.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt index 6eaa45271c..c0396e66a5 100644 --- a/Documentation/diff-config.txt +++ b/Documentation/diff-config.txt @@ -182,3 +182,9 @@ diff.algorithm:: low-occurrence common elements". -- + + +diff.wsErrorHighlight:: + A comma separated list of `old`, `new`, `context`, that + specifies how whitespace errors on lines are highlighted + with `color.diff.whitespace`. Can be overridden by the + command line option `--ws-error-highlight=<kind>` |