title: How to list commits directly between two tags
body: <p>In order to create an automatic release notes tool, I created a script listing all commits between two tags. But in some case, the tools list more commits than I wanted. </p>
  
  <p>For example, with the following graph : </p>
  
  <pre><code>* abc123 [v42] Merge branch foo on branch bar
  |\
  * | def465 ...
  * | fba602 ...
  | * da07b4 ...
  * | 98dc92 [v41] ...
  </code></pre>
  
  <p>In this case, I want to list the commits directly between v41 and v42. I tried with <code>git log v41..v42</code> and <code>git log v41...v42</code> (as suggested by codeWizard) but git also includes the commit <code>da07b4</code> which is not a children of v41.</p>