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

Re: [PATCH] rebase: ignore failures from "gc --auto"

From
Jeff King <peff@peff.net>
Date
Jan 13, 2016, 18:50 UTC
Message-ID
<20160113185052.GA5786@sigill.intra.peff.net>
In-Reply-To
<20160113184718.GA5647@sigill.intra.peff.net>
On Wed, Jan 13, 2016 at 01:47:18PM -0500, Jeff King wrote:
> This bit me just now. The real blocker was "you have too many loose
> objects, run 'git prune'" left in the gc.log file.

Which was of course annoying in itself. I was running a scripted set of rebases, so even with this fix, my terminal got spammed with the "whoops, we can't auto-gc" message over and over.

The worst part is that when I looked at .git/objects, there were a lot of objects, but most of them could be cleaned up! I wonder if too_many_loose_objects() should take into account the prune time of the objects it finds. I also wonder how I got into that situation, since that check should come right _after_ we've finished running "gc". I wonder if I had two backgrounded auto-gc's racing or something.

-Peff
Previous: Jeff KingNext: Rodrigo Campos
Message 2 of 4 in “rebase: ignore failures from "gc --auto"”
  1. rebase: ignore failures from "gc --auto"Jeff King, Jan 13, 2016
  2. Jeff KingJan 13, 2016
  3. Rodrigo CamposJan 13, 2016
  4. Jeff KingJan 13, 2016

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.