path: root/Documentation/git-rev-parse.txt
diff options
authorCesar Eduardo Barros <>2008-07-27 00:46:00 (GMT)
committerJunio C Hamano <>2008-07-30 07:19:22 (GMT)
commit81b237d5db946b4196225712a37639952787c959 (patch)
treeb79fcc3ea2c082fae355265c5c29823b067675b3 /Documentation/git-rev-parse.txt
parent731ab1f55e7ba736b24708a63e93a7c8d581a4d6 (diff)
Documentation/git-rev-parse.txt: update for new git-describe output format
Signed-off-by: Cesar Eduardo Barros <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-rev-parse.txt')
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt
index 5c93669..2921da3 100644
--- a/Documentation/git-rev-parse.txt
+++ b/Documentation/git-rev-parse.txt
@@ -155,8 +155,9 @@ blobs contained in a commit.
name the same commit object if there are no other object in
your repository whose object name starts with dae86e.
-* An output from 'git-describe'; i.e. a closest tag, followed by a
- dash, a `g`, and an abbreviated object name.
+* An output from 'git-describe'; i.e. a closest tag, optionally
+ followed by a dash and a number of commits, followed by a dash, a
+ `g`, and an abbreviated object name.
* A symbolic ref name. E.g. 'master' typically means the commit
object referenced by $GIT_DIR/refs/heads/master. If you