title: git garbage colleciton using git version 1.8.3.1 and slow git.log
body: <p>I would like to know if the <code>git.gc().setAggressive(true).call();</code> actually worked correctly on the siteRepo. How can I measure its effect programatically? I am using git version 1.8.3.1</p>
  <pre><code>// aggressively optimize the publication repository
      
  siteRepo = new File(gitLocation+publication);
  if (siteRepo.exists()){
                  git = Git.open(siteRepo);
                  git.gc().setAggressive(true).call();
                  println(&quot;*** garbage collection for repo :&quot; +gitLocation+publication);
                }
  </code></pre>
  <p>I was able to measure it using <code>du -h --max-depth=0 *</code></p>
  <pre><code>146M    ius -&gt; using git.gc on the repo
  3.7G    ius -&gt; without git.gc on the repo
  </code></pre>
  <p>git.log unfortunatelly takes a long time on this repo even after git.gc. Is there an additional way to optimizes git.log?</p>