On Sat, May 31, 2008 at 01:31:22PM -0400, Joey Hess wrote: > Trent W. Buck wrote: >> After running etckeeper for a few months, I noticed that /etc/.git >> constituted four-fifths of my /etc tree. Running git-gc >> significantly improved this ratio. I wish etckeeper did this >> automatically via a cron.monthly or cron.weekly script. > > Modern versions of git should automatically run git-gc once the > number of loose objects reaches a certian point, controlled by > gc.auto. [...] Perhaps etckeeper should set gc.auto to a smaller > number [...] so that the repo is garbage collected more often. > > I'm thinking that 1/8th of the default might be a good choice. Or closer > to a good choice.
I defer to your judgement on this topic, since you clearly understand git far better than I do. >> [EMAIL PROTECTED] sudo git repack -adf --window=200 > > It will save more space, but repacks everything each time, so is more > something to run when you need to squeeze every last bit of space you > can, not something to run automatically. OK. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]