Browse Source

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

Unknwon 6 years ago
parent
commit
0376e59520
3 changed files with 3 additions and 3 deletions
  1. 1 1
      gogs.go
  2. 1 1
      pkg/setting/setting.go
  3. 1 1
      templates/.VERSION

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.11.51.0602
+0.11.52.0603