mirror of
https://github.com/go-gitea/gitea
synced 2025-08-21 08:58:27 +00:00
update git api. fix link... and so on
This commit is contained in:
@@ -364,7 +364,7 @@ func GetRepos(num, offset int) ([]UserRepo, error) {
|
||||
}
|
||||
|
||||
func RepoPath(userName, repoName string) string {
|
||||
return filepath.Join(UserPath(userName), repoName+".git")
|
||||
return filepath.Join(UserPath(userName), strings.ToLower(repoName)+".git")
|
||||
}
|
||||
|
||||
func UpdateRepository(repo *Repository) error {
|
||||
|
Reference in New Issue
Block a user