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

Re: git describe oddity: ignoring recent tags...

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Nov 23, 2009, 12:38 UTC
Message-ID
<46a038f90911230438m2c147b34nbd95cd74777f6be9@mail.gmail.com>
In-Reply-To
<20091123123048.GA10172@atjola.homenet>
2009/11/23 Björn Steinbrink <B.Steinbrink@gmx.de>:
> They are lightweight:
> $ git cat-file -t olpc-update-2.19
> commit
Hmmm. I thought a tag with a _message_ was not lightweight.

$ git tag -ln ... olpc-update-2.16 Release 2.16 olpc-update-2.17 Release 2.17. olpc-update-2.18 Rlease 2.18. olpc-update-2.19 Release 2.19.

Argh... I see now - git tag is being helpful and showing the first line of the commit msg instead of the tag msg, so I thought they were full tags.

DWIM bites again! ;-(
Show 6 quoted lines
> And using --tags "helps" here:
> $ git describe
> olpc-update-2.16-20-g2d4e4b8
>
> $ git describe --tags
> olpc-update-2.19-3-g2d4e4b8

Right. Doesn't make a difference with 1.6.0.6 but it does with 1.6.3.1.26.gf5b223

m
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Previous: Björn SteinbrinkNext: Thomas Rast
Message 3 of 4 in “git describe oddity: ignoring recent tags...”
  1. Martin LanghoffNov 23, 2009
  2. Björn SteinbrinkNov 23, 2009
  3. Martin LanghoffNov 23, 2009
  4. Thomas RastNov 23, 2009

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.