Browse Source

Sync MaxGitDiffLineCharacters with conf/app.ini (#2779) (#2780)

MAX_GIT_DIFF_LINE_CHARACTERS was updated in #1845 but the corresponding
default value of MaxGitDiffLineCharacters was not changed. This can lead
to inconsistencies.
release/v1.2
Michael Kuhn 5 years ago
committed by Lauris BH
parent
commit
f40ba68d57
  1. 2
      modules/setting/setting.go

2
modules/setting/setting.go

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

Loading…
Cancel
Save