Re: [PATCH] GIT-VERSION-GEN: Do not require tags to be annotated
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Sep 8, 2013, 00:54 UTC
- Message-ID
- <CAMP44s2NUvm41+ysvj0hp5SvDtFZDt-4pGnh8hP4UT1kBRaUxQ@mail.gmail.com>
- In-Reply-To
- <xmqqsixgvci1.fsf@gitster.dls.corp.google.com>
On Sat, Sep 7, 2013 at 11:10 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> I am not sure what you mean by automated, but if you can tell your > automation infrastructure that the way to build this Git software is > to run "make" in it, shouldn't it be trivial to instead tell it to > run something like this instead? > > git describe --tags HEAD >version && make
Which is a pretty stupid option. 'git describe' does use tags by default anyway, what else is it supposed to do?
-- Felipe Contreras