sshaw / git-link

Emacs package to get the GitHub/Bitbucket/GitLab/... URL for a buffer location
399 stars 74 forks source link

'No handler for USERNAME' error on https URLs with username and token #51

Closed snarfed closed 6 years ago

snarfed commented 6 years ago

hi! first off, thanks again for git-link. it's great!

i recently upgraded to 0.5.1 (not sure of the older version i was on, sorry), and i now get the error message Result: "No handler for USERNAME" in repos where the first remote URL is http with username and token, e.g. https://snarfed:abc123@github.com/snarfed/foo.git. i think these URLs worked in the earlier version i upgraded from.

remote URLs with git: or https: without username/token still work fine.

thanks in advance!

sshaw commented 6 years ago

Hurmmm yes, this looks like it was broken with 0.5.0. 0.4.5 seems to work. I will look into fixing tonight...

sshaw commented 6 years ago

Check the fix-url-parser branch. Let me know if that works for you.

snarfed commented 6 years ago

works great! thanks for the quick fix!

sshaw commented 6 years ago

Fixed in v0.6.0.