aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-name-rev.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-30 13:08:50 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-30 13:23:01 -0700
commitee837244df2e2e4e9171f508f83f353730db9e53 (patch)
treefd5a0362864084bd91d6cc671ae64c4d7c44e6fb /Documentation/git-name-rev.txt
parentdf85f7855da44c730f942b330ada181209d09d7a (diff)
downloadgit-ee837244df2e2e4e9171f508f83f353730db9e53.tar.gz
git-ee837244df2e2e4e9171f508f83f353730db9e53.tar.xz
Fix example in git-name-rev documentation
Since 59d3f54 (name-rev: avoid "^0" when unneeded, 2007-02-20), name-rev stopped showing an unnecessary "^0" to dereference a tag down to a commit. The patch should have made a matching update to the documentation, but we forgot. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-name-rev.txt')
-rw-r--r--Documentation/git-name-rev.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-name-rev.txt b/Documentation/git-name-rev.txt
index abd2237e5..7ca8a7b48 100644
--- a/Documentation/git-name-rev.txt
+++ b/Documentation/git-name-rev.txt
@@ -59,7 +59,7 @@ Enter 'git-name-rev':
------------
% git name-rev 33db5f4d9027a10e477ccf054b2c1ab94f74c85a
-33db5f4d9027a10e477ccf054b2c1ab94f74c85a tags/v0.99^0~940
+33db5f4d9027a10e477ccf054b2c1ab94f74c85a tags/v0.99~940
------------
Now you are wiser, because you know that it happened 940 revisions before v0.99.