From: Jonathan Nieder Date: Thu, 02 Dec 2010 18:32:57 GMT Subject: Re: [PATCH] documentation: escape '~' in git revert Message-ID: <20101202183257.GH3962@burratino> In-Reply-To: <7vzksoqbjd.fsf@alter.siamese.dyndns.org> Junio C Hamano wrote: > 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.