title: Cherry-picked commits have different hashes
body: <p>Say I do <code>git log branch-A..branch-B</code>, I get a list of commits that are in <code>branch-B</code> but not in <code>branch-A</code>. I can also get a list of commits in <code>branch-A</code> but not in <code>branch-B</code> by reversing the order.</p>
  
  <p>Almost every commit into <code>branch-A</code> is cherry-picked into <code>branch-B</code>, however I noticed that <code>git log</code> shows commits that have been cherry-picked. In particular I notice that the commit hash of the cherry-picked commit in <code>branch-B</code> is different from the one that is in <code>branch-A</code>. Does someone know why this could happen? If so how to perform the diff so that it does not capture these false positives?</p>