git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Brandon Casey <casey@nrlssc.navy.mil>
Cc: Nicolas Pitre <nico@cam.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	git@vger.kernel.org
Subject: Re: auto gc again
Date: Thu, 20 Mar 2008 07:01:19 +0100	[thread overview]
Message-ID: <20080320060119.GF17940@kernel.dk> (raw)
In-Reply-To: <47E18540.4020908@nrlssc.navy.mil>

On Wed, Mar 19 2008, Brandon Casey wrote:
> Nicolas Pitre wrote:
> > On Tue, 18 Mar 2008, Jens Axboe wrote:
> > 
> >> But freshly pulled repo, git auto gc is enabled. And that is my main
> >> annoyance, I just don't think that type of policy should be in there.
> > 
> > Just do this once:
> > 
> > 	git config --global gc.auto 0
> > 	git config --global gc.autopacklimit 0
> 
> Is there any reason why gc.auto=0 couldn't be used to disable auto
> packing entirely?
> 
> Said differently, are there valid use cases where one might want automatic
> repacking based on the number of packs but _not_ based on the number of
> loose objects?
> 
> If the answer is "no", then "gc.auto=0 means completely disable auto-gc"
> seems intuitive and would have protected Jens in this case.

Totally agree, makes a lot more sense.

-- 
Jens Axboe

  parent reply	other threads:[~2008-03-20  6:02 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-18 18:01 auto gc again Jens Axboe
2008-03-18 18:14 ` Linus Torvalds
2008-03-18 18:19   ` Jens Axboe
2008-03-18 18:24     ` Jens Axboe
2008-03-18 18:33       ` Linus Torvalds
2008-03-18 18:39         ` Jens Axboe
2008-03-19 20:22           ` Johannes Schindelin
2008-03-19 21:14             ` Jens Axboe
2008-03-19 21:44               ` Johannes Schindelin
2008-03-20  6:00                 ` Jens Axboe
2008-03-19 20:37     ` Nicolas Pitre
2008-03-19 21:17       ` Jens Axboe
2008-03-19 23:05         ` Nicolas Pitre
2008-03-20  7:40           ` Jens Axboe
2008-03-20  7:55             ` Junio C Hamano
2008-03-20 17:31               ` Jens Axboe
2008-03-19 21:27       ` Brandon Casey
2008-03-19 21:53         ` [PATCH] builtin-gc.c: allow disabling all auto-gc'ing by assigning 0 to gc.auto Brandon Casey
2008-03-20  7:08           ` Teemu Likonen
2008-03-19 22:56         ` auto gc again Nicolas Pitre
2008-03-20  6:01         ` Jens Axboe [this message]
2008-03-19 21:27 ` Junio C Hamano
2008-03-19 21:52   ` Linus Torvalds
2008-03-19 22:28     ` Junio C Hamano
2008-03-19 23:16       ` Nicolas Pitre
2008-03-19 23:25         ` Junio C Hamano
2008-03-20  3:13           ` Nicolas Pitre
2008-03-20  4:09             ` Junio C Hamano
2008-03-20  4:40               ` Nicolas Pitre
2008-03-20  4:49                 ` Junio C Hamano

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=20080320060119.GF17940@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=casey@nrlssc.navy.mil \
    --cc=git@vger.kernel.org \
    --cc=nico@cam.org \
    --cc=torvalds@linux-foundation.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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).