Re: git-describe only works on full tags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> 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.

--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux