I have two commits, once of which is the ancestor of another. (They happen to be the start and end points of a branch. I don\'t think that matters, but I\'ll include it if i
I didn't know the --no-merges -o options but here another solution (I suppose that merges have been done from master) :
git checkout -b temp git rebase --onto master branch-start branch-end git diff master