Re: [PATCH RFC] git describe without refs distinguishes dirty working tree
- From
Nicolas Pitre <nico@fluxnic.net>
- Date
- Oct 17, 2009, 00:31 UTC
- Message-ID
- <alpine.LFD.2.00.0910162028190.21739@xanadu.home>
- In-Reply-To
- <7vvdifq6vw.fsf@alter.siamese.dyndns.org>
On Fri, 16 Oct 2009, Junio C Hamano wrote:
Show 10 quoted lines
> But the thing is, "git describe" without arguments already works on HEAD > and describes it, and people depend on the behaviour. > > I originally thought this _might_ break and hoped it won't be a big issue, > but now I've seen that even the kernel would break (it runs the command > without saying "HEAD"), I do not want to risk breaking other projects I > may not even heard of. Some people might have copied our GIT-VERSION-GEN > (that says "HEAD"), but I would not bet against that many many more people > would have copied the use of "git describe" from the kernel build tree > than from us.
OpenOCD is another project that just started using Git and copied describe usage from Linux.
Nicolas