[Reproducible-commits] [diffoscope] 02/04: Raise the limits for diffoscope a bit more

Ximin Luo infinity0 at debian.org
Thu Aug 25 10:23:58 UTC 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 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 Reproducible-commits mailing list