Skip to content

Commit c5a802f

Browse files
committed
Merge branch 'so/format-patch-doc-on-default-diff-format'
Docfix. * so/format-patch-doc-on-default-diff-format: doc/diff-options: fix out of place mentions of '--patch/-p'
2 parents e4d83ee + 714d491 commit c5a802f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Documentation/diff-options.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ endif::git-format-patch[]
3636
-U<n>::
3737
--unified=<n>::
3838
Generate diffs with <n> lines of context instead of
39-
the usual three. Implies `--patch`.
39+
the usual three.
4040
ifndef::git-format-patch[]
41-
Implies `-p`.
41+
Implies `--patch`.
4242
endif::git-format-patch[]
4343

4444
--output=<file>::
@@ -441,7 +441,10 @@ endif::git-format-patch[]
441441

442442
--binary::
443443
In addition to `--full-index`, output a binary diff that
444-
can be applied with `git-apply`. Implies `--patch`.
444+
can be applied with `git-apply`.
445+
ifndef::git-format-patch[]
446+
Implies `--patch`.
447+
endif::git-format-patch[]
445448

446449
--abbrev[=<n>]::
447450
Instead of showing the full 40-byte hexadecimal object

0 commit comments

Comments
 (0)