From: Han Young Date: Thu, 20 Feb 2025 03:03:01 GMT Subject: Re: [External] git keeps recreating packs, exploding backup increments Message-ID: In-Reply-To: <1524b9a5-6f8b-4537-ba6b-bdfdd4b1bdcb@cendio.se> On Wed, Feb 19, 2025 at 5:58 PM Pierre Ossman wrote: > We tried gc.bigPackThreshold in the hope it would force it to reuse > packs better. But all we got instead was duplication. It still creates > new packs with everything. It just stopped removing the old ones. Is the repo partially cloned? git-repack will always pack promisor packs even if it's a keep pack. This patch would fix it https://lore.kernel.org/git/2728513.vuYhMxLoTh@mintaka.ncbr.muni.cz/ Thanks