diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-25 08:53:11 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-25 08:53:11 -0400 |
commit | 197c4d4a5ba8a9540c49879324194f5f6be4689c (patch) | |
tree | 1a0e18a3da39aaf0664b00d45681f956734d73eb /modules/middleware | |
parent | 09e7e76204c694278972f3225040726d2ec687cd (diff) | |
download | gitea-197c4d4a5ba8a9540c49879324194f5f6be4689c.tar.gz gitea-197c4d4a5ba8a9540c49879324194f5f6be4689c.zip |
Fix wrong serve command log location and commit repo action
Diffstat (limited to 'modules/middleware')
-rw-r--r-- | modules/middleware/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/middleware/repo.go b/modules/middleware/repo.go index eea2570ca6..b23bccb104 100644 --- a/modules/middleware/repo.go +++ b/modules/middleware/repo.go @@ -73,7 +73,7 @@ func RepoAssignment(redirect bool) martini.Handler { if base.EnableHttpsClone { scheme = "https" } - ctx.Repo.CloneLink.SSH = fmt.Sprintf("git@%s:%s/%s.git", base.Domain, user.LowerName, repo.LowerName) + ctx.Repo.CloneLink.SSH = fmt.Sprintf("%s@%s:%s/%s.git", base.RunUser, base.Domain, user.LowerName, repo.LowerName) ctx.Repo.CloneLink.HTTPS = fmt.Sprintf("%s://%s/%s/%s.git", scheme, base.Domain, user.LowerName, repo.LowerName) ctx.Data["IsRepositoryValid"] = true |