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

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

From
Thomas Rast <trast@student.ethz.ch>
Date
Nov 23, 2009, 12:39 UTC
Message-ID
<200911231339.41290.trast@student.ethz.ch>
In-Reply-To
<20091123123048.GA10172@atjola.homenet>
Björn Steinbrink wrote:
> On 2009.11.23 13:01:51 +0100, Martin Langhoff wrote:
> > git describe origin/master will respond olpc-update-2.16-20-g2d4e4b8
> > when it is fairly clear to me that it should be
> > olpc-update-2.19-1g<hash>.
[...]
Show 10 quoted lines
> They are lightweight:
> $ git cat-file -t olpc-update-2.19
> commit
> 
> And using --tags "helps" here:
> $ git describe 
> olpc-update-2.16-20-g2d4e4b8
> 
> $ git describe --tags
> olpc-update-2.19-3-g2d4e4b8

Note that Gits that do not have 7e425c4 (describe: Make --tags and --all match lightweight tags more often, 2008-10-13; first released in 1.6.1) will prefer the annotated tag over the unannotated ones even with --tags, which explains your observation

> > For some reason, recent tags are being ignored -- and cgit even
> > displays them differently in
> > http://dev.laptop.org/git/projects/olpc-update/log/ though it is
> > unclear to me why.
at least with the first Git version mentioned:
> > Tested with 1.6.0.6 (Fedora 9 rpm) and 1.6.3.1.26.gf5b223 (on Karmic).
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Martin Langhoff
Message 4 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.