diff options
author | Unknwon <u@gogs.io> | 2015-11-09 11:39:03 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-09 11:39:03 -0500 |
commit | 2db785b3ed0c65bbf2769abf34aae0976b3c4159 (patch) | |
tree | cc552d266f03d56d76f05683b4feb2b592f7b0fd /cmd/serve.go | |
parent | 647688bd0604b874c6ee877475b6da1217b2cdcd (diff) | |
download | gitea-2db785b3ed0c65bbf2769abf34aae0976b3c4159.tar.gz gitea-2db785b3ed0c65bbf2769abf34aae0976b3c4159.zip |
convert missing name
Diffstat (limited to 'cmd/serve.go')
-rw-r--r-- | cmd/serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go index fb90f6b448..b571375257 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -139,7 +139,7 @@ func runServ(c *cli.Context) { } verb, args := parseCmd(cmd) - repoPath := strings.Trim(args, "'") + repoPath := strings.ToLower(strings.Trim(args, "'")) rr := strings.SplitN(repoPath, "/", 2) if len(rr) != 2 { fail("Invalid repository path", "Invalid repository path: %v", args) |