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, 20:12 UTC
Message-ID
<20160113201238.GA6978@sigill.intra.peff.net>
In-Reply-To
<20160113194011.GD20764@sdfg.com.ar>
On Wed, Jan 13, 2016 at 04:40:11PM -0300, Rodrigo Campos wrote:
Show 12 quoted lines
> On Wed, Jan 13, 2016 at 01:47:18PM -0500, Jeff King wrote:
> > After rebasing, we call "gc --auto" to clean up if we
> > created a lot of loose objects. However, we do so inside an
> > &&-chain. If "gc --auto" fails (e.g., because a previous
> > background gc blocked us by leaving "gc.log" in place),
> > then:
> > 
> >   1. We will fail to clean up the state directory, leaving
> >      the user stuck in the rebase forever (even "git am
> >      --abort" doesn't work, because it calls "gc --auto"!).
> 
> Just curious, but do you mean "git rebase --abort" ?
Yeah, sorry, I did mean "git rebase --abort".
-Peff
Previous: Rodrigo Campos
Message 4 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.