Skip to content

Commit cbfd124

Browse files
gagerngitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 072dda6 commit cbfd124

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/cat-texi.perl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
push @menu, $1;
1313
}
1414
s/\(\@pxref{\[(URLS|REMOTES)\]}\)//;
15+
s/\@anchor\{[^{}]*\}//g;
1516
print TMP;
1617
}
1718
close TMP;

0 commit comments

Comments
 (0)