1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-31 06:17:56 +01:00

diff-options.txt: fix minor typos, font inconsistencies, in docs

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Robert P. J. Day 2018-06-11 09:56:13 -04:00 committed by Junio C Hamano
parent d33c87517a
commit 7eedad15df

View file

@ -64,7 +64,7 @@ ifndef::git-format-patch[]
endif::git-format-patch[] endif::git-format-patch[]
--indent-heuristic:: --indent-heuristic::
Enable the heuristic that shift diff hunk boundaries to make patches Enable the heuristic that shifts diff hunk boundaries to make patches
easier to read. This is the default. easier to read. This is the default.
--no-indent-heuristic:: --no-indent-heuristic::
@ -96,7 +96,7 @@ endif::git-format-patch[]
low-occurrence common elements". low-occurrence common elements".
-- --
+ +
For instance, if you configured diff.algorithm variable to a For instance, if you configured the `diff.algorithm` variable to a
non-default value and want to use the default one, then you non-default value and want to use the default one, then you
have to use `--diff-algorithm=default` option. have to use `--diff-algorithm=default` option.
@ -332,7 +332,7 @@ ifndef::git-format-patch[]
Warn if changes introduce conflict markers or whitespace errors. Warn if changes introduce conflict markers or whitespace errors.
What are considered whitespace errors is controlled by `core.whitespace` What are considered whitespace errors is controlled by `core.whitespace`
configuration. By default, trailing whitespaces (including configuration. By default, trailing whitespaces (including
lines that solely consist of whitespaces) and a space character lines that consist solely of whitespaces) and a space character
that is immediately followed by a tab character inside the that is immediately followed by a tab character inside the
initial indent of the line are considered whitespace errors. initial indent of the line are considered whitespace errors.
Exits with non-zero status if problems are found. Not compatible Exits with non-zero status if problems are found. Not compatible
@ -346,7 +346,7 @@ ifndef::git-format-patch[]
this option is not given, and the configuration variable this option is not given, and the configuration variable
`diff.wsErrorHighlight` is not set, only whitespace errors in `diff.wsErrorHighlight` is not set, only whitespace errors in
`new` lines are highlighted. The whitespace errors are colored `new` lines are highlighted. The whitespace errors are colored
whith `color.diff.whitespace`. with `color.diff.whitespace`.
endif::git-format-patch[] endif::git-format-patch[]