Re: git-describe hash length
- From
Tomas Carnecky <tom@dbservice.com>
- Date
- Jan 22, 2009, 12:34 UTC
- Message-ID
- <497867BE.8070509@dbservice.com>
- In-Reply-To
- <497857CE.3060101@iaik.tugraz.at>
On 01/22/2009 12:26 PM, Martin Pirker wrote:
Show 22 quoted lines
> 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=<n> > Instead of using the default 8 hexadecimal digits as the > abbreviated object name, use<n> 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