Browse Source

pkg/setting: fix '[git] GC_ARGS' is not loaded

pull/5254/merge
Unknwon 7 years ago
parent
commit
0376e59520
No known key found for this signature in database
GPG Key ID: 7A02C406FAC875A2
  1. 2
      gogs.go
  2. 2
      pkg/setting/setting.go
  3. 2
      templates/.VERSION

2
gogs.go

@ -16,7 +16,7 @@ import (
"github.com/gogs/gogs/pkg/setting"
)
const APP_VER = "0.11.51.0602"
const APP_VER = "0.11.52.0603"
func init() {
setting.AppVer = APP_VER

2
pkg/setting/setting.go

@ -251,7 +251,7 @@ var (
MaxGitDiffLines int
MaxGitDiffLineCharacters int
MaxGitDiffFiles int
GCArgs []string `delim:" "`
GCArgs []string `ini:"GC_ARGS" delim:" "`
Timeout struct {
Migrate int
Mirror int

2
templates/.VERSION

@ -1 +1 @@
0.11.51.0602
0.11.52.0603
Loading…
Cancel
Save