summaryrefslogtreecommitdiff
path: root/Documentation/cat-texi.perl
diff options
context:
space:
mode:
authorMartin von Gagern <Martin.vGagern@gmx.net>2013-04-03 21:54:33 +0200
committerJunio C Hamano <gitster@pobox.com>2013-04-03 16:14:19 -0700
commitcbfd124c22b3d42cfc40d7de2205e3d7b7b96fe7 (patch)
tree171c87c632f41ae2596c22d260c943642eb65f04 /Documentation/cat-texi.perl
parent072dda68eafdefe56f9305c547771367353cf89d (diff)
downloadgit-cbfd124c22b3d42cfc40d7de2205e3d7b7b96fe7.tar.gz
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>
Diffstat (limited to 'Documentation/cat-texi.perl')
-rwxr-xr-xDocumentation/cat-texi.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/cat-texi.perl b/Documentation/cat-texi.perl
index 828ec62554..87437f8a95 100755
--- a/Documentation/cat-texi.perl
+++ b/Documentation/cat-texi.perl
@@ -12,6 +12,7 @@ while (<STDIN>) {
push @menu, $1;
}
s/\(\@pxref{\[(URLS|REMOTES)\]}\)//;
+ s/\@anchor\{[^{}]*\}//g;
print TMP;
}
close TMP;