Re: git repack vs git gc --aggressive

2012-08-13 Thread Junio C Hamano
Marc Branchaud writes: > On 12-08-10 04:09 PM, Junio C Hamano wrote: >> Felix Natter writes: >> >>> I have a few questions about this: >>> As I am coming from "large depth is harmful" school, I would recommend - "git repack -a -d -f" with large "--window" with reasonably sh

Re: git repack vs git gc --aggressive

2012-08-13 Thread Marc Branchaud
On 12-08-10 04:09 PM, Junio C Hamano wrote: > Felix Natter writes: > >> I have a few questions about this: >> >>> As I am coming from "large depth is harmful" school, I would >>> recommend >>> >>> - "git repack -a -d -f" with large "--window" with reasonably short >>>"--depth" once, >> >> S

Re: git repack vs git gc --aggressive

2012-08-10 Thread Junio C Hamano
Felix Natter writes: > I have a few questions about this: > >> As I am coming from "large depth is harmful" school, I would >> recommend >> >> - "git repack -a -d -f" with large "--window" with reasonably short >>"--depth" once, > > So something like --depth=250 and --window=500? I would

Re: git repack vs git gc --aggressive

2012-08-10 Thread Felix Natter
Junio C Hamano writes: > Jeff King writes: > >> So the packing parameters are the same these days for either method. >> Note that "git gc --aggressive" will also use "-f" to recompute all >> deltas. This is more expensive, but gives git more flexibility if the >> old deltas were sub-optimal (typ

Re: git repack vs git gc --aggressive

2012-08-07 Thread Junio C Hamano
Jeff King writes: > So the packing parameters are the same these days for either method. > Note that "git gc --aggressive" will also use "-f" to recompute all > deltas. This is more expensive, but gives git more flexibility if the > old deltas were sub-optimal (typically, this is the case if the

Re: git repack vs git gc --aggressive

2012-08-07 Thread Jeff King
On Tue, Aug 07, 2012 at 08:22:21PM +0200, Felix Natter wrote: > I read this: > > http://metalinguist.wordpress.com/2007/12/06/the-woes-of-git-gc-aggressive-and-how-git-deltas-work/ > where > git repack -a -d --depth=250 --window=250 > is mentioned as a (recommended) alternative to git gc --ag

git repack vs git gc --aggressive

2012-08-07 Thread Felix Natter
hello, I read this: http://metalinguist.wordpress.com/2007/12/06/the-woes-of-git-gc-aggressive-and-how-git-deltas-work/ where git repack -a -d --depth=250 --window=250 is mentioned as a (recommended) alternative to git gc --aggressive. I am a bit confused, because the page also mentions that