Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git-describe only works on full tags

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:23

Jan Engelhardt [off-list ref] writes:
For some reason, git-describe only prints a description relative to 
the last tag that was a tag object (and not just a ref).
This is kinda a bug to me, what do others think?
There is an option to tell git-describe to allow using non annotated
tags, but that is not a defult.

This is a very deliberate design decision.  Annotated tags are meant for
public consumption, but lightweight tags are often used to locally mark
points that are interesting during this current development session
(e.g. "I am trying to improve by first breaking and then enhancing, and
this one was the last-known working one"), and it is mighty annoying if
such a tag is used in describe output.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help