Alexey Borzenkov  committed 9c0c1b1

Define linkgit macro in [macros] section

Starting with asciidoc 8.3.0 linkgit macro is no longer recognized by
asciidoc and user guide suggests
that macros are supposed to be defined in [macros] section. I'm not
sure whether undefined linkgit macro was working by pure chance or it
is a regression in asciidoc 8.3.0, but this patch adds proper
definition for the linkgit macro, allowing it to work on 8.3.0.

Signed-off-by: Alexey Borzenkov <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 4586864

Comments (0)

Files changed (1)

File Documentation/asciidoc.conf

 # Show GIT link as: <command>(<section>); if section is defined, else just show
 # the command.