0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-22 02:04:16 +01:00

cmd/serve.go: remove useless code

This commit is contained in:
Unknwon 2015-03-01 18:43:28 -05:00
parent 63a73b43b4
commit b447d18dca
3 changed files with 2 additions and 4 deletions

View file

@ -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,
}
)

View file

@ -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())

View file

@ -1 +1 @@
0.5.16.0228 Beta
0.5.16.0301 Beta