summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2016-06-29 12:11:00 -0300
committer无闻 <u@gogs.io>2016-06-29 23:11:00 +0800
commit743d22669a49b743f1963dc579294a092c4980c1 (patch)
treedcb537495d87ae31e1b041d999a72c3dfc27b89a /modules/setting
parent84841c8c4b257bd627fcc033112237d40e3a329a (diff)
downloadgitea-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.go8
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