Subject: Re: People unaware of the importance of "git gc"?

From: Russ Dill <[email-masked]>
Date: Thu, 6 Sep 2007 02:44:00 +0000 (UTC)

> Ok, how about doing something like this?
> 

git add? merge? rebase? No, I have a sneakier place to invoke gc.

Whenever $EDITOR gets invoked. Heck, whenever git is waiting for any user input,
do some gc in the background, it'd just have to be incremental so that we could
pick up where we left off.

Similarly, you could mix it in with git pull/push so that while we are waiting
on the network, we can do some packing.

Course, this wouldn't work for all repositories.