Skip to content

Commit 65dff89

Browse files
Martin Ågrengitster
authored andcommitted
diff-generate-patch.adoc: drop spurious backticks
Commit 0b080a7 (doc: git-diff: apply format changes to diff-generate-patch, 2024-11-18) wrapped the ".." in mode <mode>,<mode>..<mode> in backticks. Note how the line before is quite similar, index <hash>,<hash>..<hash> but did not get any backticks. Remove the backticks, since they confuse Asciidoctor. The exact failure mode changed with c87b2b3 (doc: fix asciidoctor synopsis processing of triple-dots, 2025-04-12), and arguably to the better. But Asciidoctor (2.0.18) still ends up confused by these backticks and leaves the manpage rendering as index <hash>,<hash>..<hash> mode <mode>,<mode>`..__<mode>__ {empty}`new file mode <mode> Drop the backticks. This is a no-op with asciidoc (10.2.0). Signed-off-by: Martin Ågren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f93ff17 commit 65dff89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/diff-generate-patch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ or like this (when the `--cc` option is used):
138138
+
139139
[synopsis]
140140
index <hash>,<hash>..<hash>
141-
mode <mode>,<mode>`..`<mode>
141+
mode <mode>,<mode>..<mode>
142142
new file mode <mode>
143143
deleted file mode <mode>,<mode>
144144
+

0 commit comments

Comments
 (0)