From: Siddharth Agarwal Date: Fri, 24 Jan 2014 02:44:43 GMT Subject: Re: [PATCH] pack-objects: turn off bitmaps when skipping objects Message-ID: <52E1D39B.4050103@fb.com> In-Reply-To: <20140124022822.GC4521@sigill.intra.peff.net> On 01/23/2014 06:28 PM, Jeff King wrote: > I think your understanding is accurate here. So we want repack to > respect keep files for deletion, but we _not_ necessarily want > pack-objects to avoid packing an object just because it's in a pack > marked by .keep (see my other email). Yes, that makes sense and sounds pretty safe. So the right solution for us probably is to apply the patch Vicent posted, set repack.honorpackkeep to false, and also have a cron job that cleans up stale .keep files so that subsequent repacks clean it up.