On Thu, Oct 12, 2017 at 4:42 PM, Christian Couder <christian.couder@xxxxxxxxx> wrote: > > Instead of adding labels and gotos, I would suggest adding a new > function like the following does on top of your changes: Sorry for the usual Gmail related problems. You can find the patch and a further refactoring that adds an object_info_from_pack_entry() function there: https://github.com/chriscool/git/commits/pu-partial-clone-lazy-fetch-improved