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

Safe to interrupt »git gc --auto«?

From
TSThomas Schwinge <thomas@codesourcery.com>
Date
Oct 29, 2014, 15:06 UTC
Message-ID
<87fve6gbk3.fsf@kepler.schwinge.homeip.net>
Hi!

I couldn't find this answered in the documentation: if, instead of exiting right away, a »git gc --auto« actually commences its housekeeping tasks, is it safe to interrupt (C-c, SIGINT) the original git invocation at this point, or might this cause any inconsistencies, data loss, or failure to perform the task Git has originally been invoked for? I generally do find the auto-housekeeping useful, just sometimes it happens at the "wrong" moment, and so I'd like to delay it until next time.

Grüße,
 Thomas
Next: Jonathan Nieder
Message 1 of 2 in “Safe to interrupt »git gc --auto«?”
  1. Thomas SchwingeOct 29, 2014
  2. Jonathan NiederOct 29, 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.