aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/diff-generate-patch.txt
diff options
context:
space:
mode:
authorJohn Cai <johncai86@gmail.com>2023-01-13 16:15:24 +0000
committerJunio C Hamano <gitster@pobox.com>2023-01-13 12:55:14 -0800
commitebdc46c242ac53d73295ba8953456b571dbad322 (patch)
tree5f8e85dd9b10a7a6faf3c7ffba40a1fa402c8534 /Documentation/diff-generate-patch.txt
parentc48035d29b4e524aed3a32f0403676f0d9128863 (diff)
downloadgit-ebdc46c242ac53d73295ba8953456b571dbad322.tar.gz
docs: link generating patch sections
Currently, in the git-log documentation, the reference to generating patches does not match the section title. This can make the section "Generating patch text with -p" hard to find, since typically readers of the documentation will copy and paste to search the page. Let's make this more convenient for readers by linking it directly to the section. Since git-log pulls in diff-generate-patch.txt, we can provide a direct link to the section. Otherwise, change the verbiage to match exactly what the section title is, to at least make searching for it an easier task. Signed-off-by: John Cai <johncai86@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/diff-generate-patch.txt')
-rw-r--r--Documentation/diff-generate-patch.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/diff-generate-patch.txt b/Documentation/diff-generate-patch.txt
index c78063d4f7..546adf79e5 100644
--- a/Documentation/diff-generate-patch.txt
+++ b/Documentation/diff-generate-patch.txt
@@ -1,3 +1,4 @@
+[[generate_patch_text_with_p]]
Generating patch text with -p
-----------------------------