diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-10-26 13:14:43 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-26 13:14:43 -0700 |
commit | e5272d304af3528163cd5faa822f88086448ae57 (patch) | |
tree | 3790db42783219a328cfd83be301fbb3ee7eb0df /Documentation/diff-options.txt | |
parent | c334effa2332e30199451695b148f02eb7d9fd13 (diff) | |
parent | a17505f262b62e429bb0e188c5ed73ac749e25b8 (diff) | |
download | git-e5272d304af3528163cd5faa822f88086448ae57.tar.gz |
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-options.txt')
-rw-r--r-- | Documentation/diff-options.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 2d77a19626..29630c2389 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -308,6 +308,8 @@ ifndef::git-format-patch[] lines are highlighted. E.g. `--ws-error-highlight=new,old` highlights whitespace errors on both deleted and added lines. `all` can be used as a short-hand for `old,new,context`. + The `diff.wsErrorHighlight` configuration variable can be + used to specify the default behaviour. endif::git-format-patch[] |