index e4af393515c346528bccb7a4f2d3823aebddddfc..9ecc1d7bc460dd723ae08618b0deab88e407114f 100644 (file)
ifndef::git-format-patch[]
ifndef::git-diff[]
ifndef::git-format-patch[]
ifndef::git-diff[]
+ifndef::git-log[]
:git-diff-core: 1
:git-diff-core: 1
+endif::git-log[]
endif::git-diff[]
endif::git-format-patch[]
endif::git-diff[]
endif::git-format-patch[]
--check::
Warn if changes introduce trailing whitespace
--check::
Warn if changes introduce trailing whitespace
- or an indent that uses a space before a tab.
+ or an indent that uses a space before a tab. Exits with
+ non-zero status if problems are found. Not compatible with
+ --exit-code.
--full-index::
Instead of the first handful characters, show full
--full-index::
Instead of the first handful characters, show full
Shorthand for "--text".
--ignore-space-at-eol::
Shorthand for "--text".
--ignore-space-at-eol::
- Ignore changes in white spaces at EOL.
+ Ignore changes in whitespace at EOL.
--ignore-space-change::
--ignore-space-change::
- Ignore changes in amount of white space. This ignores white
- space at line end, and consider all other sequences of one or
- more white space characters to be equivalent.
+ Ignore changes in amount of whitespace. This ignores whitespace
+ at line end, and considers all other sequences of one or
+ more whitespace characters to be equivalent.
-b::
Shorthand for "--ignore-space-change".
--ignore-all-space::
-b::
Shorthand for "--ignore-space-change".
--ignore-all-space::
- Ignore white space when comparing lines. This ignores
- difference even if one line has white space where the other
+ Ignore whitespace when comparing lines. This ignores
+ differences even if one line has whitespace where the other
line has none.
-w::
line has none.
-w::