title: How to list all commits containing a file by name
body: <p>I'd like to know all commits that are containing (not only changing) a specific file.</p>
  
  <p>What I tried was:</p>
  
  <pre><code>git rev-list --all -- .gitmodules
  git log --all --pretty="%H" -- .gitmodules
  </code></pre>
  
  <p>These commands are only displaying those commits that have modified a specific file. I'm also interested in those commits that contain the unmodified file in it's tree.</p>
  
  <p>I want to use this to further analyse of those commits in order to create a submodule usage report.</p>