summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-03-01 18:43:28 -0500
committerUnknwon <u@gogs.io>2015-03-01 18:43:28 -0500
commitb447d18dca3720be6357ffe147517619e7840ee2 (patch)
tree500256c944a3646b73c33bb800236ad715f9fe70
parent63a73b43b452afbcef5e4bae9b54bdeacd0ac827 (diff)
downloadgitea-b447d18dca3720be6357ffe147517619e7840ee2.tar.gz
gitea-b447d18dca3720be6357ffe147517619e7840ee2.zip
cmd/serve.go: remove useless code
-rw-r--r--cmd/serve.go2
-rw-r--r--gogs.go2
-rw-r--r--templates/.VERSION2
3 files changed, 2 insertions, 4 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,
}
)
diff --git a/gogs.go b/gogs.go
index 96c848ec3f..7b212b72fd 100644
--- a/gogs.go
+++ b/gogs.go
@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
-const APP_VER = "0.5.16.0228 Beta"
+const APP_VER = "0.5.16.0301 Beta"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
diff --git a/templates/.VERSION b/templates/.VERSION
index 0789cc30bc..bc7ed7d030 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.5.16.0228 Beta \ No newline at end of file
+0.5.16.0301 Beta \ No newline at end of file