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

Re: [PATCH] Documentation/git-filter-branch.txt: Remove unnecessary URL quoting

From
Thomas Rast <trast@student.ethz.ch>
Date
Mar 20, 2009, 15:19 UTC
Message-ID
<200903201619.56600.trast@student.ethz.ch>
In-Reply-To
<200903200012.10454.johan@herland.net>
Johan Herland wrote:
Show 5 quoted lines
> Embedding the URL in '+++' causes AsciiDoc (v8.4.1) to generate invalid XML.
> None of the other URLs in Git's documentation are quoted in this manner.
> There's no reason to treat this URL differently.
> 
> Signed-off-by: Johan Herland <johan@herland.net>
[...]
> -* Clone it with `git clone +++file:///path/to/repo+++`.  The clone
> +* Clone it with `git clone file:///path/to/repo`.  The clone

I deliberately wrote it that way because *not* quoting it, at least on my box, formats the entire paragraph in monospace. Apparently it treats the ` as part of an autodetected URL or some such. This is independent of my choice of ASCIIDOC8 or DOCBOOK_XSL_172 settings. Am I missing another flag that avoids this problem?

I have these packages installed from opensuse:
  asciidoc-8.2.7-29.10
  docbook_4-4.5-111.8
  docbook-xsl-stylesheets-1.74.0-1.35
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Johan HerlandNext: Johan Herland
Message 2 of 3 in “Documentation/git-filter-branch.txt: Remove unnecessary URL quoting”
  1. Documentation/git-filter-branch.txt: Remove unnecessary URL quotingJohan Herland, Mar 19, 2009
  2. Thomas RastMar 20, 2009
  3. Johan HerlandMar 22, 2009

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.