git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Sylvain Rabot <sylvain.rabot@f-secure.com>, git@vger.kernel.org
Subject: Re: [PATCH] documentation: escape '~' in git revert
Date: Thu, 2 Dec 2010 12:32:57 -0600	[thread overview]
Message-ID: <20101202183257.GH3962@burratino> (raw)
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.

  reply	other threads:[~2010-12-02 18:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02 17:36 [PATCH] documentation: escape '~' in git revert Sylvain Rabot
2010-12-02 17:50 ` Jonathan Nieder
2010-12-02 18:23   ` Junio C Hamano
2010-12-02 18:32     ` Jonathan Nieder [this message]
2010-12-02 19:23       ` Junio C Hamano
2010-12-02 19:15     ` [PATCH] documentation: replace wrongly evalutated backslashed '~' characters Sylvain Rabot
2010-12-02 18:05 ` [PATCH] documentation: escape '~' in git revert Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101202183257.GH3962@burratino \
    --to=jrnieder@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=sylvain.rabot@f-secure.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).