1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-11 20:54:24 +00:00

convert missing name

This commit is contained in:
Unknwon 2015-11-09 11:39:03 -05:00
parent 647688bd06
commit 2db785b3ed

View File

@ -139,7 +139,7 @@ func runServ(c *cli.Context) {
} }
verb, args := parseCmd(cmd) verb, args := parseCmd(cmd)
repoPath := strings.Trim(args, "'") repoPath := strings.ToLower(strings.Trim(args, "'"))
rr := strings.SplitN(repoPath, "/", 2) rr := strings.SplitN(repoPath, "/", 2)
if len(rr) != 2 { if len(rr) != 2 {
fail("Invalid repository path", "Invalid repository path: %v", args) fail("Invalid repository path", "Invalid repository path: %v", args)