git gc/prune runs again and again
- From
Andreas Krey <a.krey@gmx.de>
- Date
- Nov 3, 2015, 12:44 UTC
- Message-ID
- <20151103124420.GA10946@inner.h.apk.li>
Hi all,
I have a bit of an annoying behaviour in git gc; there is a repo I regularly do a fetch in, and this kicks off a gc/prune every time. I remember there being a heuristic with being that many files in .git/objects/17 as the gc trigger.
Which is unfortunate if the gc does not actually reduce the number of files there because they aren't old enough => gc comes right back.
What can I do there? (This git is a bit old, 2.2.2)
Andreas
-- "Totally trivial. Famous last words." From: Linus Torvalds <torvalds@*.org> Date: Fri, 22 Jan 2010 07:29:21 -0800