diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-01-02 20:14:43 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-01-02 20:14:43 +0800 |
commit | c73e9057ae949bd0c0bf329b23d4e5da4ac154d0 (patch) | |
tree | 58a2d8bb67ad7b5846bbb2a17809dcef54fa6f79 /conf | |
parent | 0b56272c130c88fc4441fb1cba04657fe73efc38 (diff) | |
download | gitea-c73e9057ae949bd0c0bf329b23d4e5da4ac154d0.tar.gz gitea-c73e9057ae949bd0c0bf329b23d4e5da4ac154d0.zip |
Optmize git-fsck options and fix #820
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/conf/app.ini b/conf/app.ini index 467b430365..c191d105cd 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -260,14 +260,20 @@ DRIVER = CONN = [git] -MAX_GITDIFF_LINES = 10000 -; Arguments for command 'git fsck', e.g.: "--unreachable --tags" -; see more on http://git-scm.com/docs/git-fsck/1.7.5 -FSCK_ARGS = +MAX_GIT_DIFF_LINES = 10000 ; Arguments for command 'git gc', e.g.: "--aggressive --auto" ; see more on http://git-scm.com/docs/git-gc/1.7.5 GC_ARGS = +; Git health check. +[git.fsck] +ENABLE = true +; Execution interval in hours. Default is 24. +INTERVAL = 24 +; Arguments for command 'git fsck', e.g.: "--unreachable --tags" +; see more on http://git-scm.com/docs/git-fsck/1.7.5 +ARGS = + [i18n] LANGS = en-US,zh-CN,zh-HK,de-DE,fr-CA,nl-NL,lv-LV NAMES = English,简体中文,繁體中文,Deutsch,Français,Nederlands,Latviešu |