When I used Perforce, I did a compare between branches to see what CL was not merged. I used:
p4 interchanges //depot/branches/$from_branch/... //depot/branches/$to_branch/...
It recognized it perfectly, even if there was a merge-edit (a merge and an edit before submit).
Now I use Git, and I use:
git log origin/"$from_branch" ^origin/"$to_branch" --no-merges
We usually do a cherry pick (instead of a merge) between branches. We also do an edit before we commit and push (so it's kind of a merge-edit) The command does not work, because the commits are different...
Any idea how I can still find what commits are missing between branches?