Re: [PATCH] Stop inflating the whole SHA1 file only to check size.
From: Nicolas Pitre <hidden> Date: 2016-06-15 22:41:59
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