Re: [PATCH] Stop inflating the whole SHA1 file only to check size.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jun 2, 2005, 01:32 UTC
- Message-ID
- <7vll5th7cb.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0506012048330.17354@localhost.localdomain>
>>>>> "NP" == Nicolas Pitre <nico@cam.org> writes:
NP> On Wed, 1 Jun 2005, Junio C Hamano wrote:
>> Using the new unpack_sha1_file_partial() function, stop >> inflating the whole SHA1 file when rename detector wants to know >> only the filesize.
NP> Beware.
You are right. I cannot believe how stupid I am, falling into this trap _just_ _after_ looking at the delta stuff X-<.
Linus please drop that one.