From: Tomas Carnecky Date: Thu, 22 Jan 2009 12:34:06 GMT Subject: Re: git-describe hash length Message-ID: <497867BE.8070509@dbservice.com> In-Reply-To: <497857CE.3060101@iaik.tugraz.at> On 01/22/2009 12:26 PM, Martin Pirker wrote: > Hi! > > > john@doe:/workspace$ git version > git version 1.6.1 > john@doe:/workspace$ git describe > fatal: cannot describe '7aee61cc635a923e70b74091486742481ee0928b' > john@doe:/workspace$ git describe --always > 7aee61c > john@doe:/workspace$ git describe --always --abbrev=8 > 7aee61cc > > > man git-describe: > > --abbrev= > Instead of using the default 8 hexadecimal digits as the > abbreviated object name, use digits. > > > > There is one character missing from default or what am I missing? The man page is wrong: cache.h:#define DEFAULT_ABBREV 7 builtin-describe.c:static int abbrev = DEFAULT_ABBREV; tom