diff options
author | Unknwon <u@gogs.io> | 2015-03-01 18:43:28 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-03-01 18:43:28 -0500 |
commit | b447d18dca3720be6357ffe147517619e7840ee2 (patch) | |
tree | 500256c944a3646b73c33bb800236ad715f9fe70 /cmd/serve.go | |
parent | 63a73b43b452afbcef5e4bae9b54bdeacd0ac827 (diff) | |
download | gitea-b447d18dca3720be6357ffe147517619e7840ee2.tar.gz gitea-b447d18dca3720be6357ffe147517619e7840ee2.zip |
cmd/serve.go: remove useless code
Diffstat (limited to 'cmd/serve.go')
-rw-r--r-- | cmd/serve.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/serve.go b/cmd/serve.go index ded4392a01..1138317e29 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -65,10 +65,8 @@ func parseCmd(cmd string) (string, string) { var ( COMMANDS = map[string]models.AccessMode{ "git-upload-pack": models.ACCESS_MODE_READ, - "git upload-pack": models.ACCESS_MODE_READ, "git-upload-archive": models.ACCESS_MODE_READ, "git-receive-pack": models.ACCESS_MODE_WRITE, - "git receive-pack": models.ACCESS_MODE_WRITE, } ) |