Re: [PATCH RFC] cherry: support --abbrev option
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 16, 2010, 01:44 UTC
- Message-ID
- <7v634xyr9s.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <40aa078e1003151650m549bafdbwdd849e23349ce6a9@mail.gmail.com>
Erik Faye-Lund <kusmabite@googlemail.com> writes:
> So, basically, ls-files and ls-tree seems to think > find_unique_abbrev() does not correctly (for this purpose) handle > abbrev=0. However, show-ref does seem to assume so.
I think this is merely historical; the former two were written way back before corner case behaviour, namely length=0 case, was cast in stone, and hence they call f-u-a unnecessarily defefnsively.
.