threads / patch / 14697

patchDocumentation/git-rev-parse.txt: update for new git-describe output format

Subject: [PATCH] Documentation/git-rev-parse.txt: update for new git-describe output format

## tl;dr

One message between Jul 27, 2008 and Jul 27, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Cesar Eduardo Barros· Jul 27, 2008, 00:46 UTC · lore
Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
---
 Documentation/git-rev-parse.txt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
Show changes to Documentation/git-rev-parse.txt +3 −2
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
-- 
1.5.6.4

← back to recent threads