1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-02 08:57:32 -04:00

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.
This commit is contained in:
Michael Kuhn 2017-10-25 10:28:58 +02:00 committed by Lunny Xiao
parent 178bd498b9
commit 3af5b67ed0

View File

@ -438,7 +438,7 @@ var (
}{ }{
DisableDiffHighlight: false, DisableDiffHighlight: false,
MaxGitDiffLines: 1000, MaxGitDiffLines: 1000,
MaxGitDiffLineCharacters: 500, MaxGitDiffLineCharacters: 5000,
MaxGitDiffFiles: 100, MaxGitDiffFiles: 100,
GCArgs: []string{}, GCArgs: []string{},
Timeout: struct { Timeout: struct {