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

[PATCH 0/2] describe: support the syntax "--abbrev=+"

From
Jonh Wendell <jonh.wendell@gmail.com>
Date
Sep 12, 2014, 14:26 UTC
Message-ID
<1410532004-22769-1-git-send-email-jonh.wendell@gmail.com>

Sometimes it's interesting to have a simple output that answers the question: Are there commits after the latest tag?

One possible solution is to just print a "+" (plus) signal after the tag. Example:
> git describe --abbrev=1 5261ec5d5
v2.1.0-rc1-2-g5261ec
> git describe --abbrev=+ 5261ec5d5
v2.1.0-rc1+

First patch was sent in Aug 23, re-sending with Signed-off-by and CC'ing Junio.

Jonh Wendell (2):
  describe: support the syntax "--abbrev=+"
  describe: Add documentation for "--abbrev=+"
 Documentation/git-describe.txt |  6 ++++++
 builtin/describe.c             | 26 +++++++++++++++++++++-----
 2 files changed, 27 insertions(+), 5 deletions(-)
-- 
1.9.3
Next: Jonh Wendell
Message 1 of 6 in “describe: support the syntax "--abbrev=+"”
  1. 0/2 describe: support the syntax "--abbrev=+"Jonh Wendell, Sep 12, 2014
  2. 1/2 describe: support the syntax "--abbrev=+"Jonh Wendell, Sep 12, 2014
  3. Jeff KingSep 14, 2014
  4. Eric SunshineSep 14, 2014
  5. 2/2 describe: Add documentation for "--abbrev=+"Jonh Wendell, Sep 12, 2014
  6. Jeff KingSep 14, 2014

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.