Closed allomov closed 2 years ago
@bgreenlee , please, review this pull request.
Thanks.
I am so sorry to do this to you, but if you're still interested in this patch, would you mind reapplying it to the current head and add some documentation (in GitHub.sublime-settings) on the new setting?
Also, I'm a bit confused...is this replacing the existing remote
setting?
Feel free to reopen.
(Sorry for the years-late response. I haven't used Sublime Text in a long time and have been sadly neglecting this repo.)
Hey, @bgreenlee.
I've played around the code you pointed me out in https://github.com/bgreenlee/sublime-github/issues/100 and here is a possible solution for this issue. It worked for me and I will continue using it to find out any possible problems.
The idea is that you have
default_remote
option in your settings (this idea is taken from GitHubinator). Every time you can't figure out what is current remote and branch, you take remote fromdefault_remote
option and substitute branch name with sha hash to point to specific commit.