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.