Skip to content

describe: support the syntax "--abbrev=+"

Jonh Wendell git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2describe: support the syntax "--abbrev=+"builtin/describe.c+21 -52 replies
2/2describe: Add documentation for "--abbrev=+"Documentation/git-describe.txt+6 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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:

Quoted 1 line

git describe --abbrev=1 5261ec5d5

v2.1.0-rc1-2-g5261ec

Quoted 1 line

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(-)
Signature · 1 line
1.9.3