Skip to content

Commit

Permalink
Sync MaxGitDiffLineCharacters with conf/app.ini (#2779)
Browse files Browse the repository at this point in the history
MAX_GIT_DIFF_LINE_CHARACTERS was updated in #1845 but the corresponding
default value of MaxGitDiffLineCharacters was not changed. This can lead
to inconsistencies.
  • Loading branch information
michaelkuhn authored and lunny committed Oct 25, 2017
1 parent 178bd49 commit 3af5b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/setting/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ var (
}{
DisableDiffHighlight: false,
MaxGitDiffLines: 1000,
MaxGitDiffLineCharacters: 500,
MaxGitDiffLineCharacters: 5000,
MaxGitDiffFiles: 100,
GCArgs: []string{},
Timeout: struct {
Expand Down

0 comments on commit 3af5b67

Please sign in to comment.