Skip to content

Commit 7eedad1

Browse files
robertpjdaygitster
authored andcommitted
diff-options.txt: fix minor typos, font inconsistencies, in docs
Signed-off-by: Robert P. J. Day <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d33c875 commit 7eedad1

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::
@@ -96,7 +96,7 @@ endif::git-format-patch[]
9696
low-occurrence common elements".
9797
--
9898
+
99-
For instance, if you configured diff.algorithm variable to a
99+
For instance, if you configured the `diff.algorithm` variable to a
100100
non-default value and want to use the default one, then you
101101
have to use `--diff-algorithm=default` option.
102102

@@ -332,7 +332,7 @@ ifndef::git-format-patch[]
332332
Warn if changes introduce conflict markers or whitespace errors.
333333
What are considered whitespace errors is controlled by `core.whitespace`
334334
configuration. By default, trailing whitespaces (including
335-
lines that solely consist of whitespaces) and a space character
335+
lines that consist solely of whitespaces) and a space character
336336
that is immediately followed by a tab character inside the
337337
initial indent of the line are considered whitespace errors.
338338
Exits with non-zero status if problems are found. Not compatible
@@ -346,7 +346,7 @@ ifndef::git-format-patch[]
346346
this option is not given, and the configuration variable
347347
`diff.wsErrorHighlight` is not set, only whitespace errors in
348348
`new` lines are highlighted. The whitespace errors are colored
349-
whith `color.diff.whitespace`.
349+
with `color.diff.whitespace`.
350350

351351
endif::git-format-patch[]
352352

0 commit comments

Comments
 (0)