Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

pull-request gets confused by detached head #291

Closed
asmeurer opened this Issue Feb 15, 2013 · 1 comment

Comments

Projects
None yet
2 participants

This is from doing hub pull-request on a detached head.

/usr/local/bin/hub:1271:in `pull_request': undefined method `upstream' for nil:NilClass (NoMethodError)
    from /usr/local/bin/hub:1214:in `send'
    from /usr/local/bin/hub:1214:in `run'
    from /usr/local/bin/hub:1999:in `initialize'
    from /usr/local/bin/hub:2003:in `new'
    from /usr/local/bin/hub:2003:in `execute'
    from /usr/local/bin/hub:2053

The error message should be a little more friendly.

Member

mislav commented May 11, 2013

Fixed in 70a62f8

@mislav mislav closed this May 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment