Instead of listing all the commits in one branch then going through the second to find the common commits, we iterate through both branches at the same time and stop when there is an overlap in both lists.
rebased
Looks reasonable to me.
Thanks :)
Pull-Request has been merged by pingou
Instead of listing all the commits in one branch then going through the
second to find the common commits, we iterate through both branches at
the same time and stop when there is an overlap in both lists.