From: Junio C Hamano Date: Tue, 16 Mar 2010 01:44:15 GMT Subject: Re: [PATCH RFC] cherry: support --abbrev option Message-ID: <7v634xyr9s.fsf@alter.siamese.dyndns.org> In-Reply-To: <40aa078e1003151650m549bafdbwdd849e23349ce6a9@mail.gmail.com> Erik Faye-Lund 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. .