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

Re: Annoated tag not found on git describe

From
JEJan Engelhardt <jengelh@medozas.de>
Date
Oct 27, 2010, 19:55 UTC
Message-ID
<alpine.LNX.2.01.1010272154210.23548@obet.zrqbmnf.qr>
In-Reply-To
<4CC87C61.9060806@debugon.org>
On Wednesday 2010-10-27 21:24, Mathias Lafeldt wrote:
Show 13 quoted lines
>>> in the linux-manpages repository at 
>>> git://git.kernel.org/pub/scm/docs/man-pages/man-pages , running git 
>>> describe on the current HEAD (8482c7b836) produces
>>>
>>> fatal: No annotated tags can describe 
>>> '8482c7b836a66f874e7dfea9c35fee4a82ad817b'.
>>> However, there were unannotated tags: try --tags.
>
>Forget about my first answer.
>
>git-describe shows the most recent tag that is reachable from a commit, but
>80786722b116f5002c28e9e0200044f825b236f6 isn't reachable when your HEAD is
>at 8482c7b836a66f874e7dfea9c35fee4a82ad817b.

Ah damn, I jumped around with git checkout before, creating detached heads. All right, false alarm, but thanks for the heads up.

Previous: Mathias Lafeldt
Message 4 of 4 in “Annoated tag not found on git describe”
  1. Jan EngelhardtOct 27, 2010
  2. Mathias LafeldtOct 27, 2010
  3. Mathias LafeldtOct 27, 2010
  4. Jan EngelhardtOct 27, 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.