{"action":"closed","issue":{"url":"https://api.github.com/repos/github/hub/issues/928","repository_url":"https://api.github.com/repos/github/hub","labels_url":"https://api.github.com/repos/github/hub/issues/928/labels{/name}","comments_url":"https://api.github.com/repos/github/hub/issues/928/comments","events_url":"https://api.github.com/repos/github/hub/issues/928/events","html_url":"https://github.com/github/hub/issues/928","id":89365836,"number":928,"title":"pull request not using upstream branch as HEAD","user":{"login":"OliverJAsh","id":921609,"avatar_url":"https://avatars.githubusercontent.com/u/921609?v=3","gravatar_id":"","url":"https://api.github.com/users/OliverJAsh","html_url":"https://github.com/OliverJAsh","followers_url":"https://api.github.com/users/OliverJAsh/followers","following_url":"https://api.github.com/users/OliverJAsh/following{/other_user}","gists_url":"https://api.github.com/users/OliverJAsh/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverJAsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverJAsh/subscriptions","organizations_url":"https://api.github.com/users/OliverJAsh/orgs","repos_url":"https://api.github.com/users/OliverJAsh/repos","events_url":"https://api.github.com/users/OliverJAsh/events{/privacy}","received_events_url":"https://api.github.com/users/OliverJAsh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/github/hub/labels/bug","name":"bug","color":"ff0000"},{"url":"https://api.github.com/repos/github/hub/labels/pull-request","name":"pull-request","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/github/hub/milestones/4","html_url":"https://github.com/github/hub/milestones/v2.2.4%20bugfix%20release","labels_url":"https://api.github.com/repos/github/hub/milestones/4/labels","id":1325814,"number":4,"title":"v2.2.4 bugfix release","description":"Those pesky :bug:s squashed!","creator":{"login":"mislav","id":887,"avatar_url":"https://avatars.githubusercontent.com/u/887?v=3","gravatar_id":"","url":"https://api.github.com/users/mislav","html_url":"https://github.com/mislav","followers_url":"https://api.github.com/users/mislav/followers","following_url":"https://api.github.com/users/mislav/following{/other_user}","gists_url":"https://api.github.com/users/mislav/gists{/gist_id}","starred_url":"https://api.github.com/users/mislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mislav/subscriptions","organizations_url":"https://api.github.com/users/mislav/orgs","repos_url":"https://api.github.com/users/mislav/repos","events_url":"https://api.github.com/users/mislav/events{/privacy}","received_events_url":"https://api.github.com/users/mislav/received_events","type":"User","site_admin":true},"open_issues":3,"closed_issues":11,"state":"open","created_at":"2015-09-27T18:45:28Z","updated_at":"2016-08-07T17:02:26Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2015-06-18T18:37:13Z","updated_at":"2016-08-07T17:02:26Z","closed_at":"2016-08-07T17:02:26Z","body":"Given:\r\n\r\n```\r\n[remote \"origin\"]\r\n\turl = https://github.com/systemjs/systemjs.git\r\n\tfetch = +refs/heads/*:refs/remotes/origin/*\r\n[branch \"master\"]\r\n\tremote = origin\r\n\tmerge = refs/heads/master\r\n[remote \"OliverJAsh\"]\r\n\turl = https://github.com/OliverJAsh/systemjs.git\r\n\tfetch = +refs/heads/*:refs/remotes/OliverJAsh/*\r\n[branch \"oja-patch-1\"]\r\n\tremote = OliverJAsh\r\n\tmerge = refs/heads/oja-patch-1\r\n```\r\n\r\nIf I'm on branch `oja-patch-1` and I `hub pull-request`:\r\n\r\n```\r\n# Requesting a pull to systemjs:master from systemjs:oja-patch-1\r\n```\r\n\r\nHow come the head is not automatically setting to OliverJAsh/oja-patch-1, when that is the upstream branch?"}}
{"actor":{"display_login":"mislav"}}