3e1587 Add support for old pygit2 which uses new_oid instead of new_id

Authored and Committed by Pierre-Yves Chibon 9 years ago
    Add support for old pygit2 which uses new_oid instead of new_id