Re: People unaware of the importance of "git gc"?
- From
- Tomash Brechko <tomash.brechko@gmail.com>
- Date
- Sep 5, 2007, 07:26 UTC
- Message-ID
- <20070905072628.GB4911@moonlight.home>
- In-Reply-To
- <7vsl5tk1r8.fsf@gitster.siamese.dyndns.org>
Hi!
On Wed, Sep 05, 2007 at 00:30:35 -0700, Junio C Hamano wrote:
> Perhaps _exiting_ "git-commit" and "git-fetch" before doing > anything, when the repository has more than 5000 loose objects > with a LOUD bang that instructs an immediate repack would be > good?
This may break automation. I run git-gc monthly via cron, but that doesn't guarantee I won't get 5000 loose objects before that. And I agree that automatic run is annoying. Perhaps simple BIG FAT WARNING is the best after all.
-- Tomash Brechko