Properly detecting git revision

Werner Koch wk at gnupg.org
Thu Nov 15 19:09:52 CET 2012


On Thu, 15 Nov 2012 14:21, abel at guardianproject.info said:

> The proper way, imho, of detecting the revision number is:
>
>     git rev-parse --short HEAD 2> /dev/null | tr -d '\n'

Probably.

> Shall I submit patches for all the affected repos?

Let me do it.  It is easier than to check that the patches are okay.
And well, any non-working stuff will be my fault ;-).


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list