git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Martin LanghoffNext: Jeff King
Message 9 of 10 in “Diagnosing stray/stale .keep files -- explore what is in a pack?”
  1. Martin LanghoffJan 14, 2014
  2. Martin LanghoffJan 14, 2014
  3. Martin FickJan 14, 2014
  4. Martin LanghoffJan 14, 2014
  5. Jeff KingJan 15, 2014
  6. Martin LanghoffJan 15, 2014
  7. Junio C HamanoJan 15, 2014
  8. Martin LanghoffJan 15, 2014
  9. Duy NguyenJan 16, 2014
  10. Jeff KingJan 21, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.