summaryrefslogtreecommitdiffstats
path: root/modules/setting/setting.go
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2017-10-25 10:28:58 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-10-25 16:28:58 +0800
commit3af5b67ed030f84c7269d091add9e476537d30d7 (patch)
tree1edc8d991e44d8b5f89552a8cad2933004ce7634 /modules/setting/setting.go
parent178bd498b9982746824a22861ef589d9a70fa114 (diff)
downloadgitea-3af5b67ed030f84c7269d091add9e476537d30d7.tar.gz
gitea-3af5b67ed030f84c7269d091add9e476537d30d7.zip
Sync MaxGitDiffLineCharacters with conf/app.ini (#2779)
MAX_GIT_DIFF_LINE_CHARACTERS was updated in #1845 but the corresponding default value of MaxGitDiffLineCharacters was not changed. This can lead to inconsistencies.
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r--modules/setting/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index c991a1760c..cb8cf7d39a 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -438,7 +438,7 @@ var (
}{
DisableDiffHighlight: false,
MaxGitDiffLines: 1000,
- MaxGitDiffLineCharacters: 500,
+ MaxGitDiffLineCharacters: 5000,
MaxGitDiffFiles: 100,
GCArgs: []string{},
Timeout: struct {