Re: [PATCH] git-project-version
- From
Petr Baudis <pasky@suse.cz>
- Date
- Sep 23, 2006, 23:51 UTC
- Message-ID
- <20060923235153.GH20017@pasky.or.cz>
- In-Reply-To
- <87bqr0tbo6.fsf@gmail.com>
Dear diary, on Fri, Aug 04, 2006 at 11:48:25PM CEST, I got a letter where Santi Béjar <sbejar@gmail.com> said that...
Show 5 quoted lines
> Introduce an easy way for projects to get its git version. This is > something that other projects using git would like to do, and we don't > want them all reinventing the wheel. > > Signed-off-by: Santi Béjar <sbejar@gmail.com>
Perhaps it would be more useful to have a flag for git-describe to describe not the (HEAD) commit but your working copy (thus HEAD + check for the dirtyness).
--
Petr "Pasky the Hater of Too Many
Commands" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)