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

Re: [PATCH] documentation: escape '~' in git revert

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Dec 2, 2010, 18:32 UTC
Message-ID
<20101202183257.GH3962@burratino>
In-Reply-To
<7vzksoqbjd.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 9 quoted lines
> There is one funny I do not understand (oh, well, I admit that I do not
> understand many funnies around AsciiDoc).  The two extra lines you would
> find if you drop "::$" from the above, namely,
> 
>     git-rebase.txt:    git rebase --onto topicA~5 topicA~3 topicA
>     user-manual.txt:$ git merge-file hello.c~2 hello.c~1 hello.c~3
> 
> do not seem to suffer from this issue.  IOW, it seems to affect only the
> enumeration head items.

FWIW I suspect those are both "literal" environments, thus governed by the rule described in v1.6.0-rc0~152 (git-format-patch(1): fix stray \ in output, 2008-07-02).

Based on "git grep -e '~[^~].*~' -- Documentation/", I think you found them all, unless there are some examples span multiple lines.

Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 7 in “documentation: escape '~' in git revert”
  1. documentation: escape '~' in git revertSylvain Rabot, Dec 2, 2010
  2. Jonathan NiederDec 2, 2010
  3. Junio C HamanoDec 2, 2010
  4. Jonathan NiederDec 2, 2010
  5. Junio C HamanoDec 2, 2010
  6. documentation: replace wrongly evalutated backslashed '~' charactersSylvain Rabot, Dec 2, 2010
  7. Junio C HamanoDec 2, 2010

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.