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

Ximin Luo infinity0 at debian.org
Mon Sep 5 19:19:34 CEST 2016


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

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

commit ce7254f9a2be68901e8dbddd4d03c62edb118b1e
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