From: Nasser Grainawi Date: Mon, 13 Jun 2016 01:43:27 GMT Subject: Re: Repacking a repository uses up all available disk space Message-ID: In-Reply-To: <20160612221309.GC5428@sigill.intra.peff.net> On Jun 12, 2016, at 4:13 PM, Jeff King wrote: > > At GitHub we actually have a patch to `repack` that keeps all > objects, reachable or not, in the pack, and use it for all of our > automated maintenance. Since we don't drop objects at all, we can't > ever have such a race. Aside from some pathological cases, it wastes > much less space than you'd expect. We turn the flag off for special > cases (e.g., somebody has rewound history and wants to expunge a > sensitive object). > > I'm happy to share the "keep everything" patch if you're interested. We have the same kind of patch actually (for the same reason), but back on the shell implementation of repack. It'd be great if you could share your modern version. Nasser -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project