{"issue":{"user":{"id":64377,"login":"paparent","url":"https://api.github.com/users/paparent","gravatar_id":"b458159349a6ede913f3d5184ffd25f0","avatar_url":"https://secure.gravatar.com/avatar/b458159349a6ede913f3d5184ffd25f0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"milestone":null,"title":"Error when I checkout a pullreq from a private repo","created_at":"2011-11-30T11:44:41Z","labels":[],"state":"closed","updated_at":"2011-12-20T18:51:47Z","id":2400280,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/defunkt/hub/issues/111","closed_at":"2011-12-03T15:44:45Z","number":111,"body":"When I do: `git checkout https://github.com/xy/z/pull/123` on a private repo, I get that:\r\n\r\n```\r\n/home/paparent/bin/hub:669:in `checkout': undefined method `[]' for nil:NilClass (NoMethodError)\r\n        from /home/paparent/bin/hub:473:in `send'\r\n        from /home/paparent/bin/hub:473:in `run'\r\n        from /home/paparent/bin/hub:1215:in `initialize'\r\n        from /home/paparent/bin/hub:1219:in `new'\r\n        from /home/paparent/bin/hub:1219:in `execute'\r\n        from /home/paparent/bin/hub:1268\r\n\r\n```\r\n\r\nWould be pretty cool to support private repository","url":"https://api.github.com/repos/defunkt/hub/issues/111","comments":16,"assignee":null},"comment":{"user":{"id":887,"login":"mislav","url":"https://api.github.com/users/mislav","gravatar_id":"8f93a872e399bc1353cc8d4e791d5401","avatar_url":"https://secure.gravatar.com/avatar/8f93a872e399bc1353cc8d4e791d5401?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-20T18:45:17Z","updated_at":"2011-12-20T18:45:17Z","id":3223190,"body":"It's obvious that the `checkout` command is limited and can't handle your case. I'll try to do something about it. Thanks for all the info","url":"https://api.github.com/repos/defunkt/hub/issues/comments/3223190"},"action":"created"}