summaryrefslogtreecommitdiffstats
path: root/Documentation/asciidoctor-extensions.rb.in
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2024-12-21 00:18:17 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-21 02:34:35 +0100
commitc683924d06e3c1f0166054450d4a7ecbabca0756 (patch)
tree1a6bfceb14af8a39c3e46ac66f62d5d7d2b1b9b9 /Documentation/asciidoctor-extensions.rb.in
parentasciidoctor-extensions.rb.in: delete existing <refmiscinfo/> (diff)
downloadgit-c683924d06e3c1f0166054450d4a7ecbabca0756.tar.xz
git-c683924d06e3c1f0166054450d4a7ecbabca0756.zip
asciidoctor-extensions.rb.in: add missing word
Commit a38edab7c8 (Makefile: generate doc versions via GIT-VERSION-GEN, 2024-12-06) stopped providing an attribute value "Git $(GIT_VERSION)" to asciidoc/Asciidoctor over the command line. Instead, we now provide the attribute to asciidoc through a generated asciidoc.conf, where the value is generated as "Git @GIT_VERSION@". In the similar mechanism for Asciidoctor, we forgot the "Git" prefix. Restore it. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/asciidoctor-extensions.rb.in')
-rw-r--r--Documentation/asciidoctor-extensions.rb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/asciidoctor-extensions.rb.in b/Documentation/asciidoctor-extensions.rb.in
index d8d06f9a57..fd1b84c2be 100644
--- a/Documentation/asciidoctor-extensions.rb.in
+++ b/Documentation/asciidoctor-extensions.rb.in
@@ -32,7 +32,7 @@ module Git
output = output.sub(/<refmiscinfo class="source">.*?<\/refmiscinfo>/, "")
output = output.sub(/<refmiscinfo class="manual">.*?<\/refmiscinfo>/, "")
new_tags = "" \
- "<refmiscinfo class=\"source\">@GIT_VERSION@</refmiscinfo>\n" \
+ "<refmiscinfo class=\"source\">Git @GIT_VERSION@</refmiscinfo>\n" \
"<refmiscinfo class=\"manual\">Git Manual</refmiscinfo>\n"
output = output.sub(/<\/refmeta>/, new_tags + "</refmeta>")
end