Documentation: Strip texinfo anchors to avoid duplicates

This keeps texinfo 5.x happy. See https://bugs.gentoo.org/464210. Signed-off-by: Martin von Gagern <Martin.vGagern@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Martin von Gagern committed Apr 3, 2013 at 21:54 UTC cbfd124c22b3d42cfc40d7de2205e3d7b7b96fe7
1 file changed +1
Documentation/cat-texi.perl
+1
@@ -12,6 +12,7 @@ while (<STDIN>) {
12 push @menu, $1;
13 }
14 s/\(\@pxref{\[(URLS|REMOTES)\]}\)//;
15 + s/\@anchor\{[^{}]*\}//g;
16 print TMP;
17 }
18 close TMP;