From: Junio C Hamano Date: Mon, 23 Sep 2024 16:21:13 GMT Subject: Re: [External] Re: [PATCH 2/2] fetch-pack.c: do not declare local commits as "have" in partial repos Message-ID: In-Reply-To: 韩仰 writes: > In $JOB, we modified git-repack to pack everything into a giant promisor > pack if the repo is partially cloned. I would imagine that would give you pretty much similar results as the posted patch without incurring the cost of transfering the same objects from the promisor remote. > This basically does the same thing as > you suggested, but without the cost of constructing the object list and > removing the objects in the promisor packs. Yup, repacking, instead of creating a new pack only to hold the objects in the gap, would be much simpler.