Re: notify alternative to auto gc?
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jun 28, 2010, 16:27 UTC
- Message-ID
- <vpqaaqfgm1j.fsf@bauges.imag.fr>
- In-Reply-To
- <EA7717AE-DA72-48D7-A27E-C958896FD158@gmail.com>
Karl Stenerud <kstenerud@gmail.com> writes:
Show 5 quoted lines
> The git help tells me I can disable it by setting gc.auto to 0, > while the mailing list archive tells me I also have to set > gc.autopacklimit to 0. This is fine, but if I do that, I won't know > when the repo is in need of cleanup. Is there any option I can set > to instruct it to simply TELL me when it's in need of gc?
An alternative is to actually run "git gc" periodically, to make sure that git gc --auto is never needed.
I do that from a cron job for example.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/