Merge branch 'so/diff-doc-for-patch-update' into maint-2.42

References from description of the `--patch` option in various
manual pages have been simplified and improved.

* so/diff-doc-for-patch-update:
  doc/diff-options: fix link to generating patch section
maint
Junio C Hamano 2023-11-02 16:53:17 +09:00
commit 9a4ae43f0b
1 changed files with 1 additions and 7 deletions

View File

@ -22,13 +22,7 @@ ifndef::git-format-patch[]
-p::
-u::
--patch::
Generate patch (see section titled
ifdef::git-log[]
<<generate_patch_text_with_p, "Generating patch text with -p">>).
endif::git-log[]
ifndef::git-log[]
"Generating patch text with -p").
endif::git-log[]
Generate patch (see <<generate_patch_text_with_p>>).
ifdef::git-diff[]
This is the default.
endif::git-diff[]