summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-29 14:11:17 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-29 14:11:17 +0000
commite6beb6090320d6756369934c5151e36429c5d5f1 (patch)
treeee307d2a0790dd211f36763f98cef5b4303b306e
parente569cf369ab9457d078c0f40dbbb7a67db4c6221 (diff)
parent7795a4b90c81de76e128227b7773ca6eb1abc80e (diff)
downloadgitlab-ce-e6beb6090320d6756369934c5151e36429c5d5f1.tar.gz
Merge branch 'raise-hard-limit' into 'master'
Raise hard limit
-rw-r--r--app/models/commit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index c313aeb7572..81875e1be2d 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -13,8 +13,8 @@ class Commit
DIFF_SAFE_FILES = 100
DIFF_SAFE_LINES = 5000
# Commits above this size will not be rendered in HTML
- DIFF_HARD_LIMIT_FILES = 500
- DIFF_HARD_LIMIT_LINES = 10000
+ DIFF_HARD_LIMIT_FILES = 1000
+ DIFF_HARD_LIMIT_LINES = 50000
class << self
def decorate(commits)