diff options
author | silverwind <me@silverwind.io> | 2017-06-01 03:10:11 +0200 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-05-31 20:10:11 -0500 |
commit | 31e8436a1c21735a03400a37cfc2bf8675983d02 (patch) | |
tree | df6853f7ee05ad244050a57501275dc0803818ed /vendor/code.gitea.io/git/tree_entry.go | |
parent | a977ab7889e1cd6accaa401ad2a25f4f3c4c4dd6 (diff) | |
download | gitea-31e8436a1c21735a03400a37cfc2bf8675983d02.tar.gz gitea-31e8436a1c21735a03400a37cfc2bf8675983d02.zip |
Use a better default MAX_GIT_DIFF_LINE_CHARACTERS (#1845)
Tests indicate that line length alone does not make browsers slow, so
increase the default threshold after which diffs get surpressed for line
length from 500 to a more reasonable 5000 characters.
Fixes: https://github.com/go-gitea/gitea/issues/1826
Diffstat (limited to 'vendor/code.gitea.io/git/tree_entry.go')
0 files changed, 0 insertions, 0 deletions