diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2016-06-29 12:11:00 -0300 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2016-06-29 23:11:00 +0800 |
commit | 743d22669a49b743f1963dc579294a092c4980c1 (patch) | |
tree | dcb537495d87ae31e1b041d999a72c3dfc27b89a /modules/setting | |
parent | 84841c8c4b257bd627fcc033112237d40e3a329a (diff) | |
download | gitea-743d22669a49b743f1963dc579294a092c4980c1.tar.gz gitea-743d22669a49b743f1963dc579294a092c4980c1.zip |
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff (#3174)
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index ef81258da6..d08d5be632 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -161,9 +161,11 @@ var ( // Git settings Git struct { - MaxGitDiffLines int - GcArgs []string `delim:" "` - Timeout struct { + MaxGitDiffLines int + MaxGitDiffLineCharacters int + MaxGitDiffFiles int + GcArgs []string `delim:" "` + Timeout struct { Migrate int Mirror int Clone int |