From: Nicolas Pitre Date: Sat, 17 Oct 2009 00:31:20 GMT Subject: Re: [PATCH RFC] git describe without refs distinguishes dirty working tree Message-ID: In-Reply-To: <7vvdifq6vw.fsf@alter.siamese.dyndns.org> On Fri, 16 Oct 2009, Junio C Hamano wrote: > 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