aboutsummaryrefslogtreecommitdiff
path: root/Documentation/diff-config.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-10-26 13:14:43 -0700
committerJunio C Hamano <gitster@pobox.com>2016-10-26 13:14:43 -0700
commite5272d304af3528163cd5faa822f88086448ae57 (patch)
tree3790db42783219a328cfd83be301fbb3ee7eb0df /Documentation/diff-config.txt
parentc334effa2332e30199451695b148f02eb7d9fd13 (diff)
parenta17505f262b62e429bb0e188c5ed73ac749e25b8 (diff)
downloadgit-e5272d304af3528163cd5faa822f88086448ae57.tar.gz
git-e5272d304af3528163cd5faa822f88086448ae57.tar.xz
Merge branch 'jc/ws-error-highlight'
"git diff/log --ws-error-highlight=<kind>" lacked the corresponding configuration variable to set it by default. * jc/ws-error-highlight: diff: introduce diff.wsErrorHighlight option diff.c: move ws-error-highlight parsing helpers up diff.c: refactor parse_ws_error_highlight() t4015: split out the "setup" part of ws-error-highlight test
Diffstat (limited to 'Documentation/diff-config.txt')
-rw-r--r--Documentation/diff-config.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt
index b27a38f89..58f4bd6af 100644
--- a/Documentation/diff-config.txt
+++ b/Documentation/diff-config.txt
@@ -193,3 +193,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>`