Re: auto gc again
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Mar 19, 2008, 21:27 UTC
- Message-ID
- <47E18540.4020908@nrlssc.navy.mil>
- In-Reply-To
- <alpine.LFD.1.00.0803191629240.2947@xanadu.home>
Nicolas Pitre wrote:
Show 9 quoted lines
> 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.
-brandon