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

Lightweight tags are still not considered on git describe --contains

From
Orgad Shaneh <orgads@gmail.com>
Date
Oct 18, 2017, 08:05 UTC
Message-ID
<CAGHpTBKF=zuxkihnzW26y2Bp4iEJmv5SoACLTZZxA5SjGoLoEA@mail.gmail.com>
Hi,

There was an issue with lightweight tags that was supposed to be fixed in Git 2.14 (by branch jc/name-rev-lw-tag).

I also proposed a patch[1], but that was too late, after the other fix was already in master.

Anyway, I still have the same issue with git 2.14.2.windows.3.

My repository has both annotated and lightweight tags, and git describe on old commits that's supposed to show an old (lightweight) tags always shows the first annotated tag.

I rebased my patch on top of master. I'll post it later today.
- Orgad
[1] http://lists-archives.com/git/898695-name-rev-fix-tag-lookup-on-repository-with-mixed-types-of-tags.html
Message 1 of 1 in “Lightweight tags are still not considered on git describe --contains”
  1. Orgad ShanehOct 18, 2017

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.