Closed allomov closed 8 years ago
If you're not in a branch or have no upstream configured, and that file exists in master, you can use the version of the command that always uses master:
Sorry for the confusion. I could add a hint to the error message.
Yeah, I see. At the moment I am working with this option, but still going to master every time is not so convenient.
I am sure it is possible to implement this feature, but I am not confident with sublime plugins to create a PR. Could you tell what are the problems behind implementing such functional?
So one thing I could do that would be pretty easy is to use master if there's no upstream branch configured. Would that help?
Also, I haven't used submodules much, but if you're in a submodule, would you want it to open up the code in that submodule's repo? I assume that would be possible.
Here's the chunk of code that figures out what url to open: https://github.com/bgreenlee/sublime-github/blob/7cd0deccfd67abe6d2a9f1ce703ad2843dd2d662/sublime_github.py#L423-L492
Thank you for pointing this. I will see what is possible to do.
Hey @bgreenlee. First of all thank you for a very helpful plugin. I consider to include it in everyday workflow.
Still there are some things that I aware of: I can't open in browser files that are part of submodules or located inside repo that is not checkout to master. Here you can see screenshots of the errors: