{"action":"created","issue":{"url":"https://api.github.com/repos/aspiers/git-deps/issues/57","repository_url":"https://api.github.com/repos/aspiers/git-deps","labels_url":"https://api.github.com/repos/aspiers/git-deps/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/aspiers/git-deps/issues/57/comments","events_url":"https://api.github.com/repos/aspiers/git-deps/issues/57/events","html_url":"https://github.com/aspiers/git-deps/issues/57","id":129418906,"number":57,"title":"git-deps incompatible with pygit2 version >= 0.22.1 (with patch)","user":{"login":"mstefani","id":14985551,"avatar_url":"https://avatars.githubusercontent.com/u/14985551?v=3","gravatar_id":"","url":"https://api.github.com/users/mstefani","html_url":"https://github.com/mstefani","followers_url":"https://api.github.com/users/mstefani/followers","following_url":"https://api.github.com/users/mstefani/following{/other_user}","gists_url":"https://api.github.com/users/mstefani/gists{/gist_id}","starred_url":"https://api.github.com/users/mstefani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstefani/subscriptions","organizations_url":"https://api.github.com/users/mstefani/orgs","repos_url":"https://api.github.com/users/mstefani/repos","events_url":"https://api.github.com/users/mstefani/events{/privacy}","received_events_url":"https://api.github.com/users/mstefani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-28T11:06:31Z","updated_at":"2016-02-15T15:51:17Z","closed_at":null,"body":"pygit2 incompatibly changed the API for the Diff interface in version 0.22.1 .\r\nThe attached small (4 changed lines) \r\n[0001-Account-for-Diff-API-changes-in-pygit2-version-0.22.txt](https://github.com/aspiers/git-deps/files/108060/0001-Account-for-Diff-API-changes-in-pygit2-version-0.22.txt)\r\npatch fixes it for me (Fedora 23 with pygit2 version 0.23.0).\r\nOf course this patch breaks git-deps for older pygit2 versions.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aspiers/git-deps/issues/comments/184267015","html_url":"https://github.com/aspiers/git-deps/issues/57#issuecomment-184267015","issue_url":"https://api.github.com/repos/aspiers/git-deps/issues/57","id":184267015,"user":{"login":"aspiers","id":100738,"avatar_url":"https://avatars.githubusercontent.com/u/100738?v=3","gravatar_id":"","url":"https://api.github.com/users/aspiers","html_url":"https://github.com/aspiers","followers_url":"https://api.github.com/users/aspiers/followers","following_url":"https://api.github.com/users/aspiers/following{/other_user}","gists_url":"https://api.github.com/users/aspiers/gists{/gist_id}","starred_url":"https://api.github.com/users/aspiers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspiers/subscriptions","organizations_url":"https://api.github.com/users/aspiers/orgs","repos_url":"https://api.github.com/users/aspiers/repos","events_url":"https://api.github.com/users/aspiers/events{/privacy}","received_events_url":"https://api.github.com/users/aspiers/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T15:51:17Z","updated_at":"2016-02-15T15:51:17Z","body":"Thanks!  Please could you submit a pull request for this?  Ideally it could automatically detect which API is available and adjust behaviour accordingly?"}}