Merge branch 'jc/doc-diff-patch.txt'

Doc update.

* jc/doc-diff-patch.txt:
  docs: link generating patch sections
This commit is contained in:
Junio C Hamano 2023-01-21 17:21:58 -08:00
commit c253d61137
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,4 @@
[[generate_patch_text_with_p]]
Generating patch text with -p
-----------------------------

View File

@ -22,7 +22,13 @@ ifndef::git-format-patch[]
-p::
-u::
--patch::
Generate patch (see section on generating patches).
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[]
ifdef::git-diff[]
This is the default.
endif::git-diff[]