summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-09 17:24:32 -0700
committerUnknwon <u@gogs.io>2016-08-09 17:24:32 -0700
commitb0b88d9bc5670cc04ad9f53f6b75947db5991629 (patch)
tree1c9e6da61d9e45e43761fb62350e899458fe95e1 /modules/setting
parent15b0cbe3181b7ebd1a9732790565175cd8a58f3a (diff)
downloadgitea-b0b88d9bc5670cc04ad9f53f6b75947db5991629.tar.gz
gitea-b0b88d9bc5670cc04ad9f53f6b75947db5991629.zip
#3091 add config option for Git GC
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 84d78cd512..aa618ad65c 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -198,12 +198,13 @@ var (
MaxGitDiffLines int
MaxGitDiffLineCharacters int
MaxGitDiffFiles int
- GcArgs []string `delim:" "`
+ GCArgs []string `delim:" "`
Timeout struct {
Migrate int
Mirror int
Clone int
Pull int
+ GC int `ini:"GC"`
} `ini:"git.timeout"`
}