[Patch]Handle git/git-svn checkouts in mkversion.sh
James Peach
jpeach at samba.org
Mon Jun 25 23:03:51 GMT 2007
On Jun 25, 2007, at 3:03 PM, Kai Blin wrote:
> Hi folks,
>
> Now that Jerry set up a git repository, I've fixed mkversion.sh to
> give a
> useful revision number. As the full sha-1 committish is a bit long,
> I've
> settled for the first eight hex numbers of the committish.
You could use 'git show --abbrev-commit HEAD' instead of truncating is
by hand.
--
James Peach | jpeach at samba.org
More information about the samba-technical
mailing list