3520f4 Fix figuring the patch type on old pygit2 release

Authored and Committed by Pierre-Yves Chibon 9 years ago
    Fix figuring the patch type on old pygit2 release
    
    With this change we can say if a file was added, removed, updated or
    moved in a diff and we can say so in the UI.