diff options
author | Unknwon <u@gogs.io> | 2016-08-27 12:29:52 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-27 12:29:52 -0700 |
commit | ce1e4348dad51f387003dd376f412041d0e837ed (patch) | |
tree | 4a61b91c5e085170a20171beaa2f2c3854b43b4c | |
parent | 13a8823bd33e769565c0b505d9bb26f073c7e243 (diff) | |
download | gitea-ce1e4348dad51f387003dd376f412041d0e837ed.tar.gz gitea-ce1e4348dad51f387003dd376f412041d0e837ed.zip |
#3521 fix wiki HTTP/S clone URL does not have .wiki suffix
-rw-r--r-- | models/repo.go | 2 |
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 } |