From: Jonh Wendell <jonh.wendell@gmail.com>
To: git@vger.kernel.org
Subject: [PATCH 0/2] describe: support the syntax "--abbrev=+"
Date: Sat, 23 Aug 2014 14:13:20 -0300 [thread overview]
Message-ID: <1408814002-6553-1-git-send-email-jonh.wendell@gmail.com> (raw)
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+
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 reply other threads:[~2014-08-23 17:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-23 17:13 Jonh Wendell [this message]
2014-08-23 17:13 ` [PATCH 1/2] describe: support the syntax "--abbrev=+" Jonh Wendell
2014-08-23 17:13 ` [PATCH 2/2] describe: Add documentation for "--abbrev=+" Jonh Wendell
2014-08-24 6:35 ` brian m. carlson
2014-08-24 12:11 ` Jonh Wendell
2014-08-26 18:04 ` [PATCH 0/2] describe: support the syntax "--abbrev=+" Jonh Wendell
-- strict thread matches above, loose matches on Subject: below --
2014-09-12 14:26 Jonh Wendell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1408814002-6553-1-git-send-email-jonh.wendell@gmail.com \
--to=jonh.wendell@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).