{"action":"closed","issue":{"url":"https://api.github.com/repos/jelmer/dulwich/issues/395","labels_url":"https://api.github.com/repos/jelmer/dulwich/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/jelmer/dulwich/issues/395/comments","events_url":"https://api.github.com/repos/jelmer/dulwich/issues/395/events","html_url":"https://github.com/jelmer/dulwich/issues/395","id":119792223,"number":395,"title":"Is there a way to find commits only belong to the given branch","user":{"login":"lahirug","id":8514624,"avatar_url":"https://avatars.githubusercontent.com/u/8514624?v=3","gravatar_id":"","url":"https://api.github.com/users/lahirug","html_url":"https://github.com/lahirug","followers_url":"https://api.github.com/users/lahirug/followers","following_url":"https://api.github.com/users/lahirug/following{/other_user}","gists_url":"https://api.github.com/users/lahirug/gists{/gist_id}","starred_url":"https://api.github.com/users/lahirug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lahirug/subscriptions","organizations_url":"https://api.github.com/users/lahirug/orgs","repos_url":"https://api.github.com/users/lahirug/repos","events_url":"https://api.github.com/users/lahirug/events{/privacy}","received_events_url":"https://api.github.com/users/lahirug/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-01T19:43:57Z","updated_at":"2015-12-02T14:46:25Z","closed_at":"2015-12-02T14:46:24Z","body":"Right now dulwich returns all the commits in the branch came from ancestor branch, if I want to find the commit only belong to that branch how do I do ? Is there a logic I can follow with the help of dulwich ?"}}