Björn Steinbrink [Tue, Apr 15, 2008 at 01:55:29PM +0200]: > > [...git-project-version.sh...] > > > > Hm, except for the three trailing dots that you get with > --abbrev-commit, you can get the same results with rev-parse > > $ git rev-parse HEAD > 8a18e8fe4e0e64222de6b063a976d0fe24955ddb > > $ git rev-parse --short HEAD > 8a18e8f Should have known that before... thank you for the hint! So just forget my previous post :-) Nico -- Think about Free and Open Source Software (FOSS). http://nico.schottelius.org/documentations/foss/the-term-foss/ PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C
Attachment:
signature.asc
Description: Digital signature