Closed MaxSchambach closed 5 years ago
Will that always work? I mean, if the git repo doesn't point to a correct http server. I don't see a better way to handle this anyway :+1:
Thats true, if there is no http server behind it, so e.g. for self hosted git servers, that does not work. But yea, no way to handle that but try opening it in a browser and getting a 404 ;) Still, I think its nice for those cases, like github or gitlab, where there is a webserver running.
Thanks again! merged this for now and we will see how things could be improved in the future.
Description
This simple adaption makes it possible to open URLs for repositories that were cloned via SSH.
I simply modified the
get_url
method in thegit.py
file to deal with "URLs" starting withgit@
and convert them to URLs withhttps:\\