diff options
author | Unknwon <u@gogs.io> | 2016-08-09 17:24:32 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-09 17:24:32 -0700 |
commit | b0b88d9bc5670cc04ad9f53f6b75947db5991629 (patch) | |
tree | 1c9e6da61d9e45e43761fb62350e899458fe95e1 /modules/setting | |
parent | 15b0cbe3181b7ebd1a9732790565175cd8a58f3a (diff) | |
download | gitea-b0b88d9bc5670cc04ad9f53f6b75947db5991629.tar.gz gitea-b0b88d9bc5670cc04ad9f53f6b75947db5991629.zip |
#3091 add config option for Git GC
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 3 |
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"` } |