On Thu, Jun 9, 2011 at 2:39 AM, Jakub Narebski <jnareb@xxxxxxxxx> wrote: > > Peter Harris <git@xxxxxxxxxxxxxxxxxxx> writes: > > > On Tue, Jun 7, 2011 at 9:33 PM, Geoff Russell wrote: > > > > > > As of today, almost every time I do a git command, gc is getting > > > invoked. > > > > > There are 96 pack files. > > > > That's why. See gc.autopacklimit in "git help config" -- by default, > > git will gc if there are more than 50 pack files. Thanks to everybody. This is exactly what was happening and the problems went away when I set the packSizeLimit higher ... 3000M > > Actually it looks like it is combination of this and packSizeLimit set > to 30M. Git notices that it has too many packfiles, and tries to > repack them, but packlimit forces Git to split it into small > packfiles... and end up with more packfiles than limit anyway. > > Perhaps git should notice that it has nonsensical combination of > options... That would be nice. It should be reasonably easy to work out that the packSizeLimit will guarantee too many pack files after the gc. Disobeying a users wishes shouldn't be undertaken lightly, but sometimes we stuff up :) Cheers, Geoff. -- 6 Fifth Ave, St Morris, S.A. 5068 Australia Ph: 041 8805 184 / 08 8332 5069 http://perfidy.com.au -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html