mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 19:49:47 +02:00
Go rejects scp-style addresses like `git@host:owner/repo.git` in the go-import meta tag because they have no URL scheme, so GO_GET_CLONE_URL_PROTOCOL=ssh did not work with the default SSH port unless USE_COMPAT_SSH_URI was set. Always use the ssh:// form for go-get. When DISABLE_HTTP_GIT is enabled, the https clone URL can never work, so GO_GET_CLONE_URL_PROTOCOL now defaults to ssh in that case. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>