Similar to the "SVN Cleanup" feature request it would be also useful to periodically do a garbage collection on the local Git repository.
Saving and synchronizing the project takes longer and longer when the .git folder grows over a few 100MB and the translators periodically have to re-download the project to avoid this.
We had a case when the .git folder grown to 650MB and a day worth of translation was lost because the autosave was not able to complete the whole day.
JGit has garbage collection support since v2.1 and I was able to create a basic Groovy script to run GC, but I think it would be better if the GC would be run by OmegaT automatically.
FYI JGit had a bug fixed in v3.0 which could corrupt the Git repository on Windows if GC was ran twice.
We have updated to JGit 4.8, which performs GC automatically. GC is performed synchronously after various git operations, when deemed necessary according to the default parameters (see git-gc).
(Note that git GC is not analogous to svn cleanup at all.)
Implemented in the released version 4.1.2 update 1 of OmegaT.
Didier