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'
maint
Junio C Hamano 2020-11-11 13:18:37 -08:00
commit c5a802f0ce
1 changed files with 6 additions and 3 deletions

View File

@ -36,9 +36,9 @@ endif::git-format-patch[]
-U<n>::
--unified=<n>::
Generate diffs with <n> lines of context instead of
the usual three. Implies `--patch`.
the usual three.
ifndef::git-format-patch[]
Implies `-p`.
Implies `--patch`.
endif::git-format-patch[]

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

--binary::
In addition to `--full-index`, output a binary diff that
can be applied with `git-apply`. Implies `--patch`.
can be applied with `git-apply`.
ifndef::git-format-patch[]
Implies `--patch`.
endif::git-format-patch[]

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