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

Re: bug report, v1.7.12.1 -- Documentation/git-bundle.xml:130: parser error

From
Jeff King <peff@peff.net>
Date
Sep 30, 2012, 18:02 UTC
Message-ID
<20120930180209.GA13596@sigill.intra.peff.net>
In-Reply-To
<7vipawge11.fsf@alter.siamese.dyndns.org>
On Sun, Sep 30, 2012 at 12:34:18AM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> I suspect that a tilde inside literal `` environment is mishandled
> in your versions of the documentation toolchain.  Either you would
> need to upgrade some tool in the toolchain, or we would need patches
> to the source that would look like:
> 
> 	-such as `master~1` cannot be packaged,...
>         +such as `master{tilde}1` cannot be packaged,...
> 
> to work around this problem if the version of the problematic tool
> you are using is widespread.

That would not work, as commit 6cf378f turned off no-inline-literal, and modern asciidoc would not expand that "{tilde}" at all. My guess is that Hugh is using a version of asciidoc older than 8.4.1, which was the first version to understand inline literals.

This came up already once before:
  http://thread.gmane.org/gmane.comp.version-control.git/198733

where the culprit was older third-party RPMs on RHEL5. It can be worked around by upgrading asciidoc, or using "make quick-install-doc" to pull the pre-built versions.

-Peff
Previous: Junio C HamanoNext: Hugh Esco
Message 3 of 4 in “bug report, v1.7.12.1 -- Documentation/git-bundle.xml:130: parser error”
  1. Hugh EscoSep 30, 2012
  2. Junio C HamanoSep 30, 2012
  3. Jeff KingSep 30, 2012
  4. Hugh EscoSep 30, 2012

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.