aspiers / git-deps

git commit dependency analysis tool
GNU General Public License v2.0
298 stars 47 forks source link

git-deps incompatible with pygit2 version >= 0.22.1 (with patch) #57

Closed mstefani closed 8 years ago

mstefani commented 8 years ago

pygit2 incompatibly changed the API for the Diff interface in version 0.22.1 . The attached small (4 changed lines) 0001-Account-for-Diff-API-changes-in-pygit2-version-0.22.txt patch fixes it for me (Fedora 23 with pygit2 version 0.23.0). Of course this patch breaks git-deps for older pygit2 versions.

aspiers commented 8 years ago

Thanks! Please could you submit a pull request for this? Ideally it could automatically detect which API is available and adjust behaviour accordingly?

Valodim commented 8 years ago

Nothing happened in a while so I took the liberty to submit this patch as a PR, see #58

aspiers commented 8 years ago

I merged #58 so this can be closed now.