title: Find the merge commit that modified a given line?
body: <p>We're using a git-flow style workflow, and we want to find out which pull request included changes to a given line of code.</p>
  
  <p>Suppose we have the following history:</p>
  
  <pre><code>       c---e---g
        /         \
  -a---b---d---f---h--- master
  </code></pre>
  
  <p>My pull request was merged in <code>h</code> with commit message "Merge pull request #123".</p>
  
  <p>If I do a git blame on the lines of code added in the pull request, it shows me <code>e</code>, rather than <code>h</code>.</p>
  
  <pre><code>12345678 (Wilfred Hughes           2015-02-02 15:22:40 +0000 402) # Some old code
  e        (Wilfred Hughes           2015-02-12 15:22:40 +0000 402) # Added in the PR, line 1
  e        (Wilfred Hughes           2015-02-12 15:22:40 +0000 403) # Added in the PR, line 2
  56789012 (Wilfred Hughes           2015-02-26 17:24:18 +0000 404) # More old code
  </code></pre>
  
  <p>How can I find the merge commit for a given line of code in git?</p>
  
  <p>(Note this is different from <a href="https://stackoverflow.com/q/8475448/509706">this related question</a> as I'm starting with lines of code, not commits).</p>