Re: inconsistency with --abbrev=0
- From
Markus Heidelberg <markus.heidelberg@web.de>
- Date
- Jun 1, 2009, 10:36 UTC
- Message-ID
- <200906011236.51289.markus.heidelberg@web.de>
- In-Reply-To
- <fabb9a1e0905311046t1cd45b2cj4f889313c7781b38@mail.gmail.com>
Sverre Rabbelier, 31.05.2009:
Show 8 quoted lines
> Heya, > > On Sun, May 31, 2009 at 17:48, Markus Heidelberg > <markus.heidelberg@web.de> wrote: > > What should --abbrev=0 behave like? > > If the minimum is 4, then --abbrev=n with n < 4 should give an error > saying that it should be >= 4, no?
This would break existing workflows. Currently --abbrev=[1-3] (and also --abbrev=-n (negative numbers)) always display >=4 chars in all commands. So you don't have to remind git's lower limit of 4, if you just want to display as few chars as possible. Only --abbrev=0 is different.
Markus