Re: [PATCH] Invoke "git gc --auto" from "git add" and "git fetch"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 6, 2007, 12:02 UTC
- Message-ID
- <Pine.LNX.4.64.0709061301250.28586@racer.site>
- In-Reply-To
- <7vhcm8j1bp.fsf_-_@gitster.siamese.dyndns.org>
Hi,
On Wed, 5 Sep 2007, Junio C Hamano wrote:
> * This is obviously a follow-up to the previous one that allows > you to say "git gc --auto". I somewhat feel dirty about > calling cmd_gc() bypassing fork & exec from "git add", > though...
Since all git-gc seems to do is to fork() and exec() other git programs, this should be fine (have not looked at cmd_gc() in a while, though).
Ciao, Dscho