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

git describe weird behaviour

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Nov 10, 2010, 01:00 UTC
Message-ID
<20101110010016.GC22105@genesis.frugalware.org>
Hi,
I'm not sure if this is a bug, so I'm asking.

The frugalware project (git repo: http://frugalware.org/git/pub/frugalware/frugalware-current ) has the two latest tags 1.3 and 1.4pre1, somehow git describe HEAD now mentions 1.3 and not 1.4pre1 in the output.

To be more exact:

$ git rev-parse --short HEAD f25435f

$ git rev-list 1.4pre1..|wc -l 871

So I would exepct 1.4pre1-871-gf25435f. In fact, the output is:

$ git describe 1.3-3028-gf25435f

Or in case I force the usage of the latest tag:

$ git describe --candidate 1 1.4pre1-64725-gf25435f

Does anyone have an idea what's going wrong here?
Thanks.
Next: Jeff King
Message 1 of 11 in “git describe weird behaviour”
  1. Miklos VajnaNov 10, 2010
  2. Jeff KingNov 10, 2010
  3. MaaartinNov 10, 2010
  4. Thomas RastNov 10, 2010
  5. Miklos VajnaNov 10, 2010
  6. Miklos VajnaDec 9, 2010
  7. Jeff KingDec 9, 2010
  8. Junio C HamanoNov 10, 2010
  9. Miklos VajnaNov 10, 2010
  10. Jonathan NiederNov 10, 2010
  11. Miklos VajnaNov 10, 2010

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.