git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] documentation: escape '~' in git revert
@ 2010-12-02 17:36 Sylvain Rabot
  2010-12-02 17:50 ` Jonathan Nieder
  2010-12-02 18:05 ` [PATCH] documentation: escape '~' in git revert Junio C Hamano
  0 siblings, 2 replies; 7+ messages in thread
From: Sylvain Rabot @ 2010-12-02 17:36 UTC (permalink / raw)
  To: git; +Cc: Sylvain Rabot

backslashing '~' characters do not have any effect, quoting with +++ has.

Signed-off-by: Sylvain Rabot <sylvain.rabot@f-secure.com>
---
 Documentation/git-revert.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt
index f40984d..9368892 100644
--- a/Documentation/git-revert.txt
+++ b/Documentation/git-revert.txt
@@ -82,12 +82,12 @@ effect to your index in a row.
 
 EXAMPLES
 --------
-git revert HEAD~3::
+git revert HEAD+++~+++3::
 
 	Revert the changes specified by the fourth last commit in HEAD
 	and create a new commit with the reverted changes.
 
-git revert -n master\~5..master~2::
+git revert -n master+++~+++5..master+++~+++2::
 
 	Revert the changes done by commits from the fifth last commit
 	in master (included) to the third last commit in master
-- 
1.7.3.2

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-12-02 19:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).