From 0376e59520a8538291e3b571142aa6ce0a8682de Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 3 Jun 2018 16:02:17 +0800 Subject: [PATCH] pkg/setting: fix '[git] GC_ARGS' is not loaded --- gogs.go | 2 +- pkg/setting/setting.go | 2 +- templates/.VERSION | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gogs.go b/gogs.go index e652a41fc..cc1034755 100644 --- a/gogs.go +++ b/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 diff --git a/pkg/setting/setting.go b/pkg/setting/setting.go index eb0efd116..2c5297acf 100644 --- a/pkg/setting/setting.go +++ b/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 diff --git a/templates/.VERSION b/templates/.VERSION index 3749018fd..f3aed0930 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.11.51.0602 \ No newline at end of file +0.11.52.0603 \ No newline at end of file