Browse Source

#3521 fix wiki HTTP/S clone URL does not have .wiki suffix

pull/3448/merge
Unknwon 8 years ago
parent
commit
ce1e4348da
  1. 2
      models/repo.go

2
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
}

Loading…
Cancel
Save