title: How can I access the information shown in git log --stat using only plumbing commands?
body: <p>I'm writing a script that uses the insertion + deletion information in <code>git log --stat</code>, but I've realised that I should be using <a href="https://www.kernel.org/pub/software/scm/git/docs/#_low_level_commands_plumbing" rel="nofollow">plumbing commands</a>, while git-log is a <a href="https://www.kernel.org/pub/software/scm/git/docs/#_high_level_commands_porcelain" rel="nofollow">porcelain command</a>.</p>
  
  <p>What plumbing command or commands can I use to get access to the same information that git-log is using to produce those stats?</p>