Re: [PATCH v2 4/6] index-pack: use streaming interface for collision test on large blobs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 23, 2012, 16:03 UTC
- Message-ID
- <7vr4ua28bd.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1337782191-10091-4-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> > --- > the use of sha1_object_info() instead of has_sha1_file() is the cause > of 6/6 as it is called on non-existent objects too.
I think it is wrong to call object-info before knowing if it even exists.