mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-04 12:26:12 +02:00
update repository storage layout as per https://github.com/go-gitea/gitea/issues/1872#issuecomment-3194681583
This commit is contained in:
parent
fccf0b3a39
commit
22170232bb
@ -77,6 +77,7 @@ func goGet(ctx *context.Context) {
|
||||
goGetImport := context.ComposeGoGetImport(ctx, ownerName, trimmedRepoName)
|
||||
|
||||
var cloneURL string
|
||||
gid, _ := strconv.ParseInt(group, 10, 64)
|
||||
if setting.Repository.GoGetCloneURLProtocol == "ssh" {
|
||||
cloneURL = repo_model.ComposeSSHCloneURL(ctx.Doer, ownerName, repoName, gid)
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user