Thread (1 message) 1 message, 1 author, 2024-09-23

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

From: Junio C Hamano <hidden>
Date: 2024-09-23 16:21:16

韩仰 [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help