From: Steven Penny <svnpenn@gmail.com>
To: git@vger.kernel.org
Subject: git describe not matching git log
Date: Thu, 29 Nov 2012 03:04:14 -0600 [thread overview]
Message-ID: <CAAXzdLWNb7E1qincviX5y_uEsT71bbepuUtLR7Q_+Exm8Od6yw@mail.gmail.com> (raw)
It seems "git describe" is not matching "git log" as detailed in the help, in
some cases. From git describe --help
[torvalds@g5 git]$ git describe parent
v1.0.4-14-g2414721
The number of additional commits is the number of commits which would
be displayed by "git log v1.0.4..parent".
GOOD
$ git clone git://github.com/antirez/redis.git
$ cd redis
$ git describe unstable
with-deprecated-diskstore-1050-g7383c3b
$ git log --oneline with-deprecated-diskstore..unstable | wc
1050 11779 78709
BAD
$ git clone git://github.com/git/git.git
$ cd git
$ git describe master
v1.8.0.1-264-g226dcb5
$ git log --oneline v1.8.0.1..master | wc
260 1650 14154
next reply other threads:[~2012-11-29 9:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 9:04 Steven Penny [this message]
2012-11-29 14:06 ` git describe not matching git log Michael J Gruber
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=CAAXzdLWNb7E1qincviX5y_uEsT71bbepuUtLR7Q_+Exm8Od6yw@mail.gmail.com \
--to=svnpenn@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).