Documentation: clarify how to disable elements in core.whitespace
Noticed by Peter Valdemar Mørch. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jul 25, 2008 at 00:34 UTC
c921cc92e5ff2ead4dea112b19e555f521cf20b8
1 file changed
+2
-1
Documentation/config.txt
+2
-1
@@ -358,7 +358,8 @@ core.whitespace::
358
A comma separated list of common whitespace problems to
359
notice. 'git-diff' will use `color.diff.whitespace` to
360
highlight them, and 'git-apply --whitespace=error' will
361
- consider them as errors:
361
+ consider them as errors. You can prefix `-` to disable
362
+ any of them (e.g. `-trailing-space`):
363
+
364
* `trailing-space` treats trailing whitespaces at the end of the line
365
as an error (enabled by default).