Re: notify alternative to auto gc?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Karl Stenerud <kstenerud@xxxxxxxxx> writes:

> 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/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]