[diffoscope] 02/05: Raise the limits for diffoscope a bit more

Chris Lamb chris at chris-lamb.co.uk
Mon Jan 9 17:31:23 CET 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch better-lazy-loading
in repository diffoscope.

commit efbaab65d1d5a304dd380d704f9b6d3ac0acff55
Author: Ximin Luo <infinity0 at debian.org>
Date:   Thu Aug 25 01:00:11 2016 +0200

    Raise the limits for diffoscope a bit more
---
 diffoscope/config.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/diffoscope/config.py b/diffoscope/config.py
index b99dc72..ab56752 100644
--- a/diffoscope/config.py
+++ b/diffoscope/config.py
@@ -28,8 +28,8 @@ class classproperty(property):
 class Config(object):
     def __init__(self):
         # 0 to disable max
-        self._max_diff_block_lines = 50
-        self._max_diff_input_lines = 100000 # GNU diff cannot process arbitrary large files :(
+        self._max_diff_block_lines = 512
+        self._max_diff_input_lines = 2 ** 20 # GNU diff cannot process arbitrary large files :(
         self._max_report_size = 2000 * 2 ** 10 # 2000 kB
         self._separate_file_diff_size = 200 * 2 ** 10 # 200kB
         self._fuzzy_threshold = 60

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list