875a08 Remove duplicated code

Authored and Committed by Pierre-Yves Chibon 7 years ago
    Remove duplicated code
    
    We used to have three places doing the diff between multiple branches of
    the same or different repo, this is now down to a single one.
    
    This should make it easier to test and fix as needed.
    
        
file modified
+11 -46
file modified
+141 -98
file modified
+3 -100