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

git describe not matching git log

From
Steven Penny <svnpenn@gmail.com>
Date
Nov 29, 2012, 09:04 UTC
Message-ID
<CAAXzdLWNb7E1qincviX5y_uEsT71bbepuUtLR7Q_+Exm8Od6yw@mail.gmail.com>

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: Michael J Gruber
Message 1 of 2 in “git describe not matching git log”
  1. Steven PennyNov 29, 2012
  2. Michael J GruberNov 29, 2012

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.