Last modified: 2012-11-16 19:25:18 UTC
Per the docs, JGit doesn't periodically do cleanup things like a normally cloned repository would. It might be worth looking at running an occasional `git gc` or something with git-repack from time to time to keep the repo sizes sane. Full docs on the issue: http://code.google.com/p/gerrit/wiki/Scaling#Git_GC
We tried this and it failed spectacularly[0]. JGit now supports gc[1], and we're hoping to have the feature in Gerrit eventually. When that's the case, it'll happen automagically. I don't plan on re-attempting the original git gc again, so marking this WONTFIX. [0] https://blog.wikimedia.org/2012/09/07/recovery-of-broken-gerrit-repositories/ [1] https://gerrit-review.googlesource.com/#/c/38952/