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