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>

Martin Ågren committed Dec 21, 2024 at 00:18 UTC c683924d06e3c1f0166054450d4a7ecbabca0756
1 file changed +1 -1
Documentation/asciidoctor-extensions.rb.in
+1 -1
@@ -32,7 +32,7 @@ module Git
32 output = output.sub(/<refmiscinfo class="source">.*?<\/refmiscinfo>/, "")
33 output = output.sub(/<refmiscinfo class="manual">.*?<\/refmiscinfo>/, "")
34 new_tags = "" \
35 - "<refmiscinfo class=\"source\">@GIT_VERSION@</refmiscinfo>\n" \
35 + "<refmiscinfo class=\"source\">Git @GIT_VERSION@</refmiscinfo>\n" \
36 "<refmiscinfo class=\"manual\">Git Manual</refmiscinfo>\n"
37 output = output.sub(/<\/refmeta>/, new_tags + "</refmeta>")
38 end