Re: Annoated tag not found on git describe
- From
- Jan 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.