From: Jens Axboe <jens.axboe@oracle.com>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: git@vger.kernel.org
Subject: Re: auto gc
Date: Thu, 15 Nov 2007 09:28:09 +0100 [thread overview]
Message-ID: <20071115082808.GD638@kernel.dk> (raw)
In-Reply-To: <20071115082004.GL14735@spearce.org>
On Thu, Nov 15 2007, Shawn O. Pearce wrote:
> Jens Axboe <jens.axboe@oracle.com> wrote:
> ...
> > Packing your repository for optimum performance. You may also
> > run "git gc" manually. See "git help gc" for more information.
> > Generating pack...
> > [...]
> >
> > This is extremely annoying behaviour! If I'm on battery or just in a bit
> > of a hurry, I defeinitely don't want git second guessing me and deciding
> > that it's time to run git gc.
> >
> > I'd suggest just printing a hint that running git gc would increase
> > performance, doing it automatically is definitely bad style (even more
> > so when then yet again changed git refs layout even breaks old scripts,
> > when git gc has run).
>
> Set the following and it won't run automatically anymore for you:
>
> git config --global gc.auto 0
> git config --global gc.autopacklimit 0
OK
> More recently this message has been changed to:
>
> Packing your repository for optimum performance. You may also
> run "git gc" manually. See "git help gc" for more information.
Great, that's a lot more appropriate in my opinion. I'll just update to
a later git.
Thanks!
--
Jens Axboe
prev parent reply other threads:[~2007-11-15 8:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-15 8:10 auto gc Jens Axboe
2007-11-15 8:20 ` Shawn O. Pearce
2007-11-15 8:28 ` Jens Axboe [this message]
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=20071115082808.GD638@kernel.dk \
--to=jens.axboe@oracle.com \
--cc=git@vger.kernel.org \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.