public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Thomas Schwinge <thomas@codesourcery•com>
To: <git@vger•kernel.org>
Subject: Safe to interrupt »git gc --auto«?
Date: Wed, 29 Oct 2014 16:06:36 +0100	[thread overview]
Message-ID: <87fve6gbk3.fsf@kepler.schwinge.homeip.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 472 bytes --]

             reply	other threads:[~2014-10-29 15:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 15:06 Thomas Schwinge [this message]
2014-10-29 20:50 ` Safe to interrupt »git gc --auto«? Jonathan Nieder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fve6gbk3.fsf@kepler.schwinge.homeip.net \
    --to=thomas@codesourcery$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox