summaryrefslogtreecommitdiffstats
path: root/modules/middleware
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-25 08:53:11 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-25 08:53:11 -0400
commit197c4d4a5ba8a9540c49879324194f5f6be4689c (patch)
tree1a0e18a3da39aaf0664b00d45681f956734d73eb /modules/middleware
parent09e7e76204c694278972f3225040726d2ec687cd (diff)
downloadgitea-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.go2
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