git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Cesar Eduardo Barros <cesarb@cesarb.net>
Date
Jul 27, 2008, 00:46 UTC
Message-ID
<1217119560-28380-1-git-send-email-cesarb@cesarb.net>
Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
---
 Documentation/git-rev-parse.txt |    5 +++--
 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
-- 
1.5.6.4
Message 1 of 1 in “Documentation/git-rev-parse.txt: update for new git-describe output format”
  1. Documentation/git-rev-parse.txt: update for new git-describe output formatCesar Eduardo Barros, Jul 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.