Re: Diagnosing stray/stale .keep files -- explore what is in a pack?
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jan 16, 2014, 01:14 UTC
- Message-ID
- <CACsJy8Bx4n7DSfA9JFZd_EcfN3baMtVtHHPVVKKq97jx=byigw@mail.gmail.com>
- In-Reply-To
- <CACPiFC+koU1Fan+tbE2YgOstWGsDtDihpK-7CMOct7XAEpwJ2A@mail.gmail.com>
On Thu, Jan 16, 2014 at 6:50 AM, Martin Langhoff <martin.langhoff@gmail.com> wrote:
Show 7 quoted lines
> On Wed, Jan 15, 2014 at 12:49 PM, Junio C Hamano <gitster@pobox.com> 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