From: Duy Nguyen Date: Thu, 16 Jan 2014 01:14:56 GMT Subject: Re: Diagnosing stray/stale .keep files -- explore what is in a pack? Message-ID: In-Reply-To: On Thu, Jan 16, 2014 at 6:50 AM, Martin Langhoff wrote: > On Wed, Jan 15, 2014 at 12:49 PM, Junio C Hamano wrote: >> As long as we can reliably determine that it is safe to do so >> without risking races, automatically cleaning .lock files is a good >> thing to do. > > If the .lock file is a day old, it seems to me that it should be safe > to call it stale. Perhaps report those stale locks (and stale .keep files as well if you can detct them) as garbage in count-objects too. -- Duy