Subject: Re: [External] Re: [PATCH 2/2] fetch-pack.c: do not declare local commits as "have" in partial repos

From: Junio C Hamano <[email-masked]>
Date: Mon, 23 Sep 2024 09:21:13 -0700

韩仰 <[email-masked]> 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.