Skip to content

Commit a3fa565

Browse files
committed
Merge branch 'es/format-patch-doc-hide-no-patch' into maint
"git format-patch --help" showed `-s` and `--no-patch` as if these are valid options to the command. We already hide `--patch` option from the documentation, because format-patch is about showing the diff, and the documentation now hides these options as well. * es/format-patch-doc-hide-no-patch: git-format-patch.txt: don't show -s as shorthand for multiple options
2 parents 3c383a3 + b73a1bc commit a3fa565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/diff-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ ifndef::git-format-patch[]
2626
ifdef::git-diff[]
2727
This is the default.
2828
endif::git-diff[]
29-
endif::git-format-patch[]
3029

3130
-s::
3231
--no-patch::
3332
Suppress diff output. Useful for commands like `git show` that
3433
show the patch by default, or to cancel the effect of `--patch`.
34+
endif::git-format-patch[]
3535

3636
-U<n>::
3737
--unified=<n>::

0 commit comments

Comments
 (0)