git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Documentation: Strip texinfo anchors to avoid duplicates

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 3, 2013, 20:07 UTC
Message-ID
<7vppyb4bu3.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1365018873-22503-1-git-send-email-Martin.vGagern@gmx.net>
Martin von Gagern <Martin.vGagern@gmx.net> writes:
> This keeps texinfo 5.x happy. See https://bugs.gentoo.org/464210.

I see why duplicates are bad, but does that mean not having any is better?

Show 18 quoted lines
>
> 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;
Previous: Martin von GagernNext: Martin von Gagern
Message 2 of 3 in “Documentation: Strip texinfo anchors to avoid duplicates”
  1. Documentation: Strip texinfo anchors to avoid duplicatesMartin von Gagern, Apr 3, 2013
  2. Junio C HamanoApr 3, 2013
  3. Martin von GagernApr 3, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.