threads / discuss / 55187

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

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

## tl;dr

One message between Feb 22, 2021 and Feb 22, 2021.

replies: 0people: 1as markdown or json

Anthony Sottile· Feb 22, 2021, 20:02 UTC · lore

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

← back to recent threads