Re: [PATCH] documentation: escape '~' in git revert
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Dec 2, 2010, 17:50 UTC
- Message-ID
- <20101202175013.GF3962@burratino>
- In-Reply-To
- <1291311393-31843-1-git-send-email-sylvain.rabot@f-secure.com>
Hi,
Sylvain Rabot wrote:
> backslashing '~' characters do not have any effect, quoting with +++ has.
Odd. The first example already looks okay here.
> +++ b/Documentation/git-revert.txt
[...]
> -git revert -n master\~5..master~2:: > +git revert -n master+++~+++5..master+++~+++2::
Please use the {tilde} entity instead of +++, since the former (1) does not make text monospace and (2) works with older asciidoc.
Good catch, thanks.