Merge branch 'maint'
* maint: Documentation: git diff --check respects core.whitespace
This commit is contained in:
commit
def98035d0
@ -224,10 +224,14 @@ endif::git-format-patch[]
|
|||||||
|
|
||||||
ifndef::git-format-patch[]
|
ifndef::git-format-patch[]
|
||||||
--check::
|
--check::
|
||||||
Warn if changes introduce trailing whitespace
|
Warn if changes introduce whitespace errors. What are
|
||||||
or an indent that uses a space before a tab. Exits with
|
considered whitespace errors is controlled by `core.whitespace`
|
||||||
non-zero status if problems are found. Not compatible with
|
configuration. By default, trailing whitespaces (including
|
||||||
--exit-code.
|
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[]
|
endif::git-format-patch[]
|
||||||
|
|
||||||
--full-index::
|
--full-index::
|
||||||
|
Loading…
Reference in New Issue
Block a user