bgreenlee / sublime-github

Sublime Text 2/3 plugin that provides a number of useful commands for GitHub.
MIT License
455 stars 98 forks source link

Add master-specific versions of commands #96

Closed davidrunger closed 8 years ago

davidrunger commented 8 years ago

Add the following commands, which always use the master branch, regardless of whether a different branch is checked out locally:

davidrunger commented 8 years ago

Honestly I have no idea if this implementation is up to standard. I don't have too much Python experience, and I don't think that I've ever hacked on a Sublime extension before. However, not too much of a change was required, and this gets the job done for me. I'm loving it already!

Feel free to comment with any changes you'd like me to make, even really small ones.

davidrunger commented 8 years ago

Awesome! Thanks for merging and for bumping the version (and telling Sublime package manager about the change...? I have no idea how that part works).

Thanks for cleaning up the code for me! :smile: I think you only went partway, though (?). There were 5 places that I redundantly wrote master = False, but you only removed two of them. If you want to remove the other three, you can merge https://github.com/bgreenlee/sublime-github/pull/97.

Thanks for working with me on this and for maintaining this awesome plugin that is a major help to my daily workflow!