diff options
author | Christian Muehlhaeuser <muesli@gmail.com> | 2022-02-01 08:46:24 +0100 |
---|---|---|
committer | Christian Muehlhaeuser <muesli@gmail.com> | 2022-02-01 08:55:12 +0100 |
commit | 4762bb9994ff7a43feb5ec5bfe06642e254463fb (patch) | |
tree | c93423cf01f68b63c8d38cad34770dc9576b5b85 | |
parent | 917b628ee717d25e7be9c7db7f315fd9aa176c11 (diff) |
Support ssh.github.com as a valid providerv0.7.0
Fixes #38.
-rw-r--r-- | git.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -175,6 +175,11 @@ func cleanupURL(arg string) (string, error) { u.User = nil u.Scheme = "https" + // support SSH connections to GitHub via port 443 + if u.Host == "ssh.github.com" { + u.Host = "github.com" + } + return u.String(), nil } |