From: Nicolas Pitre Date: Thu, 02 Jun 2005 00:51:28 GMT Subject: Re: [PATCH] Stop inflating the whole SHA1 file only to check size. Message-ID: In-Reply-To: <7vpsv5hbm5.fsf@assigned-by-dhcp.cox.net> 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. Beware. If you have delta objects you'll get the size of the delta itself and not the final object size, unless you recurse until a non delta object is found. Nicolas