Browse Source

cmd/serve.go: remove useless code

pull/1007/head
Unknwon 10 years ago
parent
commit
b447d18dca
  1. 2
      cmd/serve.go
  2. 2
      gogs.go
  3. 2
      templates/.VERSION

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

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

2
templates/.VERSION

@ -1 +1 @@
0.5.16.0228 Beta
0.5.16.0301 Beta
Loading…
Cancel
Save