{"action":"created","issue":{"url":"https://api.github.com/repos/ziyasal/vscode-open-in-github/issues/7","repository_url":"https://api.github.com/repos/ziyasal/vscode-open-in-github","labels_url":"https://api.github.com/repos/ziyasal/vscode-open-in-github/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ziyasal/vscode-open-in-github/issues/7/comments","events_url":"https://api.github.com/repos/ziyasal/vscode-open-in-github/issues/7/events","html_url":"https://github.com/ziyasal/vscode-open-in-github/issues/7","id":118427255,"number":7,"title":"branch is not selected properly","user":{"login":"antxxxx","id":2149559,"avatar_url":"https://avatars.githubusercontent.com/u/2149559?v=3","gravatar_id":"","url":"https://api.github.com/users/antxxxx","html_url":"https://github.com/antxxxx","followers_url":"https://api.github.com/users/antxxxx/followers","following_url":"https://api.github.com/users/antxxxx/following{/other_user}","gists_url":"https://api.github.com/users/antxxxx/gists{/gist_id}","starred_url":"https://api.github.com/users/antxxxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antxxxx/subscriptions","organizations_url":"https://api.github.com/users/antxxxx/orgs","repos_url":"https://api.github.com/users/antxxxx/repos","events_url":"https://api.github.com/users/antxxxx/events{/privacy}","received_events_url":"https://api.github.com/users/antxxxx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-23T17:12:26Z","updated_at":"2016-03-01T18:26:31Z","closed_at":null,"body":"The branch that is chosen for the URL is not the active branch in the local repository.\r\nI did have a quick look and you may be able to use git-rev (https://github.com/tblobaum/git-rev) to get the active branch but only once the pull request at https://github.com/tblobaum/git-rev/pull/14 has been merged in\r\n"},"comment":{"url":"https://api.github.com/repos/ziyasal/vscode-open-in-github/issues/comments/190842397","html_url":"https://github.com/ziyasal/vscode-open-in-github/issues/7#issuecomment-190842397","issue_url":"https://api.github.com/repos/ziyasal/vscode-open-in-github/issues/7","id":190842397,"user":{"login":"amaechler","id":1240238,"avatar_url":"https://avatars.githubusercontent.com/u/1240238?v=3","gravatar_id":"","url":"https://api.github.com/users/amaechler","html_url":"https://github.com/amaechler","followers_url":"https://api.github.com/users/amaechler/followers","following_url":"https://api.github.com/users/amaechler/following{/other_user}","gists_url":"https://api.github.com/users/amaechler/gists{/gist_id}","starred_url":"https://api.github.com/users/amaechler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaechler/subscriptions","organizations_url":"https://api.github.com/users/amaechler/orgs","repos_url":"https://api.github.com/users/amaechler/repos","events_url":"https://api.github.com/users/amaechler/events{/privacy}","received_events_url":"https://api.github.com/users/amaechler/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T18:26:31Z","updated_at":"2016-03-01T18:26:31Z","body":":+1: "}}