git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: Strip texinfo anchors to avoid duplicates
@ 2013-04-03 19:54 Martin von Gagern
  2013-04-03 20:07 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Martin von Gagern @ 2013-04-03 19:54 UTC (permalink / raw)
  To: git; +Cc: gitster, Martin von Gagern

This keeps texinfo 5.x happy. See https://bugs.gentoo.org/464210.

Signed-off-by: Martin von Gagern <Martin.vGagern@gmx.net>
---
 Documentation/cat-texi.perl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/cat-texi.perl b/Documentation/cat-texi.perl
index dbc133c..b52660d 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;
-- 
1.8.1.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-03 21:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 19:54 [PATCH] Documentation: Strip texinfo anchors to avoid duplicates Martin von Gagern
2013-04-03 20:07 ` Junio C Hamano
2013-04-03 21:08   ` Martin von Gagern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).