From: Junio C Hamano Date: Fri, 29 Jan 2021 22:13:39 GMT Subject: Re: [PATCH 03/10] builtin/pack-objects.c: learn '--assume-kept-packs-closed' Message-ID: In-Reply-To: Jeff King writes: >> I wonder if we need our assumption that the union of kept packs is >> closed under reachability to be specified as an option. If the option is >> passed, then we stop the traversal as soon as we hit an object in the >> frozen packs. If not passed, then we do a full traversal but pass >> --honor-pack-keep to drop out objects in the frozen packs after the >> fact. >> >> Thoughts? > > I'm confused. I thought the whole idea was to pass it as an option (the > user telling Git "I know these packs are supposed to be closed; trust > me")? Yes, that is how I read these patches, and it sounds like an assumption that we can make under many scenarios/repacking strategies.