title: How do I list files modified on another branch?
body: <p>Before I merge branch B into branch A, I'd like to see a list of files modified (or added, deleted, etc.) on branch B. I know I can:</p>
  
  <pre><code>git diff --name-only B
  </code></pre>
  
  <p>But that list includes files changed on A as well. I only want to see files that were changed on B (but it's okay if they were also changed on A).</p>
  
  <p>This is pretty close:</p>
  
  <pre><code>git log --name-only ..B
  </code></pre>
  
  <p>But that splits the list into separate commits. How can I generate a single list of files modified on B?</p>