Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hub browse doesn't work when not on a branch #145

Closed
urkle opened this issue Feb 28, 2012 · 2 comments
Closed

hub browse doesn't work when not on a branch #145

urkle opened this issue Feb 28, 2012 · 2 comments

Comments

@urkle
Copy link

urkle commented Feb 28, 2012

I have a github project cloned locally

[urkle@BigMac ~]$ git clone  https://github.com/johnezang/JSONKit.git

I then check out the 1.4 release tag (this is actually a submodule for another project)

[urkle@BigMac ~]$ cd JSONKit
[urkle@BigMac JSONKit]$ git checkout v1.4

I then run hub browse

[urkle@BigMac JSONKit]$ hub browse
/Users/urkle/bin/hub:140:in `upstream_project': undefined method `upstream' for nil:NilClass (NoMethodError)
    from /Users/urkle/bin/hub:147:in `current_project'
    from /Users/urkle/bin/hub:989:in `browse'
    from /Users/urkle/bin/hub:1184:in `browse_command'
    from /Users/urkle/bin/hub:982:in `browse'
    from /Users/urkle/bin/hub:607:in `send'
    from /Users/urkle/bin/hub:607:in `run'
    from /Users/urkle/bin/hub:1514:in `initialize'
    from /Users/urkle/bin/hub:1518:in `new'
    from /Users/urkle/bin/hub:1518:in `execute'
    from /Users/urkle/bin/hub:1567

if I checkout master it works fine.

@mislav
Copy link
Owner

mislav commented Feb 29, 2012

What's your hub version?

@urkle
Copy link
Author

urkle commented Feb 29, 2012

[urkle@BigMac ~]$ hub version
git version 1.7.3.4
hub version 1.8.2

@mislav mislav closed this as completed in 1e45ad9 Mar 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants