bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] git-version-gen: detect untagged revisions


From: Pádraig Brady
Subject: Re: [PATCH] git-version-gen: detect untagged revisions
Date: Tue, 14 Apr 2015 11:40:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 13/04/15 23:04, Mats Erik Andersson wrote:
> Hello there,
> 
> I have for some time been disturbed by the fact that 'git-version-gen'
> relies on the presence of an annotated tag in order to pick a good
> revision string.  The following patch is adding a mechanism to use
> the call 'git describe --always' as the very last resort, in the
> sense that it enters only if the fallback string is empty.
> 
> The addition of a leading 'g' to the revision hash is mostly a
> convenience, but the usability of the patched version applied
> to some cloned directory of small depth turned out more pleasant
> than I had expected.

Pushed.

thanks,
Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]