[diffoscope] 01/01: Increase default max_diff_input_lines, should be OK based on what we've seen

Ximin Luo infinity0 at debian.org
Tue Sep 6 23:53:38 CEST 2016


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

infinity0 pushed a commit to branch master
in repository diffoscope.

commit 83593ea75709ff82bb01cd3c8970636a4f5dd31b
Author: Ximin Luo <infinity0 at debian.org>
Date:   Tue Sep 6 23:53:06 2016 +0200

    Increase default max_diff_input_lines, should be OK based on what we've seen
---
 diffoscope/config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/config.py b/diffoscope/config.py
index ff65558..555cc2b 100644
--- a/diffoscope/config.py
+++ b/diffoscope/config.py
@@ -28,7 +28,7 @@ class classproperty(property):
 class Config(object):
     def __init__(self):
         self._max_diff_block_lines = 50
-        self._max_diff_input_lines = 100000 # GNU diff cannot process arbitrary large files :(
+        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