git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git describe not matching git log
@ 2012-11-29  9:04 Steven Penny
  2012-11-29 14:06 ` Michael J Gruber
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Penny @ 2012-11-29  9:04 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-29 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29  9:04 git describe not matching git log Steven Penny
2012-11-29 14:06 ` Michael J Gruber

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).