Junio C Hamano <gitster@xxxxxxxxx> wrote: > > The primary mode of operation without --tags of "describe" is about coming > up with version numbers, and as such, it should try to base its output on > immutable anchors as much as possible. For that reason, I think it should > use "tag " line from the tag object, not the name of the ref, to describe > the committish. They should match (otherwise fsck would say something > about it) in practice, though... FWIW the use of "tag " line for an annotated tag being output is what 212945d4 (Teach git-describe to verify annotated tag names before output) was all about. That has been in tree since v1.5.5-rc0~86^2. So we already are doing (have been doing) exactly what you are asking for. Or did I misunderstand you? -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html