Skip to content

Commit c683924

Browse files
Martin Ågrengitster
authored andcommitted
asciidoctor-extensions.rb.in: add missing word
Commit a38edab (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 298805c commit c683924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/asciidoctor-extensions.rb.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module Git
3232
output = output.sub(/<refmiscinfo class="source">.*?<\/refmiscinfo>/, "")
3333
output = output.sub(/<refmiscinfo class="manual">.*?<\/refmiscinfo>/, "")
3434
new_tags = "" \
35-
"<refmiscinfo class=\"source\">@GIT_VERSION@</refmiscinfo>\n" \
35+
"<refmiscinfo class=\"source\">Git @GIT_VERSION@</refmiscinfo>\n" \
3636
"<refmiscinfo class=\"manual\">Git Manual</refmiscinfo>\n"
3737
output = output.sub(/<\/refmeta>/, new_tags + "</refmeta>")
3838
end

0 commit comments

Comments
 (0)