From: Alexey Borzenkov Date: Mon, 8 Dec 2008 18:29:09 +0000 (+0300) Subject: Define linkgit macro in [macros] section X-Git-Tag: v1.6.1-rc3~16 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9c0c1b1f28e27bf4ac8a7b13f0b0ed3eaebc8cff;p=git.git Define linkgit macro in [macros] section Starting with asciidoc 8.3.0 linkgit macro is no longer recognized by asciidoc and user guide suggests (http://www.methods.co.nz/asciidoc/userguide.html#_macro_definitions) 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 --- diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf index 2da867d2f..1e735df3b 100644 --- a/Documentation/asciidoc.conf +++ b/Documentation/asciidoc.conf @@ -7,6 +7,9 @@ # Show GIT link as: (
); if section is defined, else just show # the command. +[macros] +(?su)[\\]?(?Plinkgit):(?P\S*?)\[(?P.*?)\]= + [attributes] asterisk=* plus=+