38062e Optimize diffing pull-requests

Authored and Committed by Pierre-Yves Chibon 8 years ago
    Optimize diffing pull-requests
    
    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.
    
        
file modified
+23 -10