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

GitHub: Copy Remote URL not working #84

Closed stevekuznetsov closed 6 years ago

stevekuznetsov commented 8 years ago

I just installed this, and the gist support is amazing. I'm using it often now. However, the GitHub: Copy URL command does not work. When I use it, I see /usr/bin/git rev-parse --abbrev-ref HEAD in the info tray at the bottom of Sublime 3 (3095) and the following is pasted into my clipboard: fatal:/blob/<my-branch>/<correct-path-to-file>#<no-line-numbers>. How do I turn debugging on so that I can see why it is not able to find the link to my fork of the repo to prepend to this URL?

bgreenlee commented 8 years ago

You can put "debug": true into the settings (Preferences -> Package Settings -> GitHub -> Settings - User). I don't think that will give you enough debug info though. I could put out a release that has more debug info, but see issue #82 for details on what it's doing and the kind of information I need to debug.

subhog commented 8 years ago

+1

Here's what I got copied:

Agreeing/blob/Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo./Users/( ...full path to open file... )

bgreenlee commented 8 years ago

Ah, that's helpful, thanks. I'll take a look.

subhog commented 8 years ago

Apparently, that happens when XCode autoupdates. After I've opened the .py file to try debug it, the XCode terms & conditions popup opened, and when I confirmed it, the plugin started to work.