{"action":"closed","issue":{"url":"https://api.github.com/repos/github/hub/issues/1220","repository_url":"https://api.github.com/repos/github/hub","labels_url":"https://api.github.com/repos/github/hub/issues/1220/labels{/name}","comments_url":"https://api.github.com/repos/github/hub/issues/1220/comments","events_url":"https://api.github.com/repos/github/hub/issues/1220/events","html_url":"https://github.com/github/hub/issues/1220","id":168724427,"number":1220,"title":"hub-pull-request unable to guess <head> and <base> correctly","user":{"login":"tiennou","id":81099,"avatar_url":"https://avatars.githubusercontent.com/u/81099?v=3","gravatar_id":"","url":"https://api.github.com/users/tiennou","html_url":"https://github.com/tiennou","followers_url":"https://api.github.com/users/tiennou/followers","following_url":"https://api.github.com/users/tiennou/following{/other_user}","gists_url":"https://api.github.com/users/tiennou/gists{/gist_id}","starred_url":"https://api.github.com/users/tiennou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiennou/subscriptions","organizations_url":"https://api.github.com/users/tiennou/orgs","repos_url":"https://api.github.com/users/tiennou/repos","events_url":"https://api.github.com/users/tiennou/events{/privacy}","received_events_url":"https://api.github.com/users/tiennou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-01T19:37:12Z","updated_at":"2016-08-07T17:03:36Z","closed_at":"2016-08-07T17:03:36Z","body":"It seems sometimes `hub` gets really confused when choosing what to PR.\r\n\r\nMy repository remotes are setup by developer name, so `$dev1`, `$dev2`, `$me`, and `$project`. We usually push things we want to get reviewed to `$project` directly, and WIP stuff under our own remotes (`$me`).\r\n\r\nSo I'm on branch `neat-feature` (which I actually forgot to push), I do `git pull-request`, I'm proposed to PR from `$dev1:neat-feature` to `$dev1:master`, which I would expect to actually fail by telling me that the branch isn't pushed yet (or something, maybe that's not so easy).\r\n\r\nI `git push -u $project-name`, then redo `git pull-request`, same proposed base & head.\r\n\r\nThe only way to get it right is to say `git pull-request -b $project:master -h $me:neat-feature`."}}
{"actor":{"display_login":"mislav"}}