Re: [PATCH] gc --aggressive: make it really aggressive
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- Mar 18, 2009, 16:27 UTC
- Message-ID
- <87ocvyvlsd.fsf@iki.fi>
- In-Reply-To
- <alpine.DEB.1.00.0903181657180.10279@pacific.mpi-cbg.de>
On 2009-03-18 17:01 (+0100), Johannes Schindelin wrote:
>> The default was not to change the window or depth at all. As >> suggested by Jon Smirl, Linus Torvalds and others, default to >> >> --window=250 --depth=250
> Guess what. This is still unresolved, and yet somebody else had to be > bitten by 'git gc --aggressive' being everything but aggressive.
Pieter de Bie's tests seem to suggest that usually --window=50 --depth=50 gives about the same results than with higher values:
http://vcscompare.blogspot.com/2008/06/git-repack-parameters.html
I don't understand the issue very well myself so I really can't say what would be a/the good value. Anyway, I agree that it would be nice if "git gc --aggressive" were aggressive and a user wouldn't need to know about "git repack" and its cryptical low-levelish options.