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

git since 2.27.0 shows unfetchable object name for `git describe` for reannotated tags

From
Anthony Sottile <asottile@umich.edu>
Date
Feb 22, 2021, 20:02 UTC
Message-ID
<CA+dzEB=Ts=OdoYey+f-t+oLXAAv=f5hEJNpzb0G=LTpGPs+faw@mail.gmail.com>

This does seem intentional given the commit message for ff165f00c1065d94c0bcab8708364e6dc5655f5d

https://github.com/git/git/commit/ff165f00c1065d94c0bcab8708364e6dc5655f5d

However this is causing an issue when using `git describe --tags --abbrev=0` where I expect the command to print out either the old tag name or the new tag name, however it prints out neither:

https://github.com/pre-commit-ci/issues/issues/45

Is there a command that I can use to print out the old result (which worked correctly) instead of the new, broken result?

Anthony
Message 1 of 1 in “git since 2.27.0 shows unfetchable object name for `git describe` for reannotated tags”
  1. Anthony SottileFeb 22, 2021

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.