How to write git log --stat command in JGit
<p>I have following git command:</p>

<pre class="lang-sh prettyprint-override"><code>git log --stat=1000 --all &gt; gitstat.log
</code></pre>

<p>Is it possible to achieve this in JGit?</p>

<p>If yes, what is the equivalent way to write this in JGit?</p>