defunkt/hub — Issue #111: Get an error when I checkout a pullreq from a private repo
Author: paparent
Created: 2011-11-30 11:44:41+00:00
State: open

When I do: git checkout https://github.com/____/______/pull/123 on a private repo, I get that:

```
/home/paparent/bin/hub:669:in `checkout': undefined method `[]' for nil:NilClass (NoMethodError)
from /home/paparent/bin/hub:473:in `send'
from /home/paparent/bin/hub:473:in `run'
from /home/paparent/bin/hub:1215:in `initialize'
from /home/paparent/bin/hub:1219:in `new'
from /home/paparent/bin/hub:1219:in `execute'
from /home/paparent/bin/hub:1268

```

Would be pretty cool to support private repository!!