summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-27 12:29:52 -0700
committerUnknwon <u@gogs.io>2016-08-27 12:29:52 -0700
commitce1e4348dad51f387003dd376f412041d0e837ed (patch)
tree4a61b91c5e085170a20171beaa2f2c3854b43b4c
parent13a8823bd33e769565c0b505d9bb26f073c7e243 (diff)
downloadgitea-ce1e4348dad51f387003dd376f412041d0e837ed.tar.gz
gitea-ce1e4348dad51f387003dd376f412041d0e837ed.zip
#3521 fix wiki HTTP/S clone URL does not have .wiki suffix
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index 728f8c59e4..14a5adeb55 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -547,7 +547,7 @@ func (repo *Repository) cloneLink(isWiki bool) *CloneLink {
} else {
cl.SSH = fmt.Sprintf("%s@%s:%s/%s.git", setting.RunUser, setting.SSH.Domain, repo.Owner.Name, repoName)
}
- cl.HTTPS = ComposeHTTPSCloneURL(repo.Owner.Name, repo.Name)
+ cl.HTTPS = ComposeHTTPSCloneURL(repo.Owner.Name, repoName)
return cl
}