title: Get names of all changed files in log of one file
body: <p>How do I get the names of all changed files from one commit despite specifying a single file on the command line?</p>
  
  <p>For instance, if I do a <code>git log --name-only</code> on the entire repo I will get a log like this:</p>
  
  <pre><code>commit abc... HEAD
  Author: Joseph Blow
  Date:   Tue Feb 30 ...
  
      Very important Change
  
  afile.c
  anotherfile.c
  </code></pre>
  
  <p>But if I do this: <code>git log --name-only afile.c</code>, then I get this:</p>
  
  <pre><code>commit abc... HEAD
  Author: Joseph Blow
  Date:   Tue Feb 30 ...
  
      Very important Change
  
  afile.c
  </code></pre>
  
  <p>Despite specifying a file, I want to see all files that were changed with that commit.</p>
  
  <p>[edit] The sample is just one of the many commit messages in the output.</p>