Skip to content

Commit d676cc5

Browse files
committed
Merge branch 'rd/diff-options-typofix'
Typofix. * rd/diff-options-typofix: diff-options.txt: fix minor typos, font inconsistencies, in docs
2 parents 1bd0e67 + 7eedad1 commit d676cc5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/diff-options.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ ifndef::git-format-patch[]
6464
endif::git-format-patch[]
6565

6666
--indent-heuristic::
67-
Enable the heuristic that shift diff hunk boundaries to make patches
67+
Enable the heuristic that shifts diff hunk boundaries to make patches
6868
easier to read. This is the default.
6969

7070
--no-indent-heuristic::
@@ -106,7 +106,7 @@ diff" algorithm internally.
106106
low-occurrence common elements".
107107
--
108108
+
109-
For instance, if you configured diff.algorithm variable to a
109+
For instance, if you configured the `diff.algorithm` variable to a
110110
non-default value and want to use the default one, then you
111111
have to use `--diff-algorithm=default` option.
112112

@@ -350,7 +350,7 @@ ifndef::git-format-patch[]
350350
Warn if changes introduce conflict markers or whitespace errors.
351351
What are considered whitespace errors is controlled by `core.whitespace`
352352
configuration. By default, trailing whitespaces (including
353-
lines that solely consist of whitespaces) and a space character
353+
lines that consist solely of whitespaces) and a space character
354354
that is immediately followed by a tab character inside the
355355
initial indent of the line are considered whitespace errors.
356356
Exits with non-zero status if problems are found. Not compatible
@@ -364,7 +364,7 @@ ifndef::git-format-patch[]
364364
this option is not given, and the configuration variable
365365
`diff.wsErrorHighlight` is not set, only whitespace errors in
366366
`new` lines are highlighted. The whitespace errors are colored
367-
whith `color.diff.whitespace`.
367+
with `color.diff.whitespace`.
368368

369369
endif::git-format-patch[]
370370

0 commit comments

Comments
 (0)