[Patch]Handle git/git-svn checkouts in mkversion.sh

Kai Blin kai at samba.org
Tue Jun 26 05:57:02 GMT 2007


On Tuesday 26 June 2007 01:03:51 James Peach wrote:
> 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.

Ah, good catch, thanks.

Kai

-- 
Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developer        http://wiki.winehq.org/KaiBlin
Samba team member     http://www.samba.org/samba/team/
--
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070626/21b6ce99/attachment.bin


More information about the samba-technical mailing list