summaryrefslogtreecommitdiffstats
path: root/diff-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-06-23 00:51:22 +0000
committerJunio C Hamano <junio@kernel.org>2011-06-23 00:51:22 +0000
commit6005bfad50b53fb60174ada90f2350dabfcf1d86 (patch)
tree940e90d55512c8c6a17a26b413317ce89f61bb9a /diff-options.txt
parent6041bfb3ed188459053f94db238793b1c4240ee9 (diff)
downloadgit-htmldocs-6005bfad50b53fb60174ada90f2350dabfcf1d86.tar.gz
Autogenerated HTML docs for v1.7.6-rc3
Diffstat (limited to 'diff-options.txt')
-rw-r--r--diff-options.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/diff-options.txt b/diff-options.txt
index c7ed94635..24f189f96 100644
--- a/diff-options.txt
+++ b/diff-options.txt
@@ -224,10 +224,14 @@ endif::git-format-patch[]
ifndef::git-format-patch[]
--check::
- Warn if changes introduce trailing whitespace
- or an indent that uses a space before a tab. Exits with
- non-zero status if problems are found. Not compatible with
- --exit-code.
+ Warn if changes introduce whitespace errors. What are
+ considered whitespace errors is controlled by `core.whitespace`
+ configuration. By default, trailing whitespaces (including
+ lines that solely consist of whitespaces) and a space character
+ that is immediately followed by a tab character inside the
+ initial indent of the line are considered whitespace errors.
+ Exits with non-zero status if problems are found. Not compatible
+ with --exit-code.
endif::git-format-patch[]
--full-index::