[Reproducible-commits] [debbindiff] 01/01: Use diff -a so that it doesn't abort on binary files.
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Jan 16 21:56:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository debbindiff.
commit 97ba2572daf91cbcf50982f6fa41400bd3a4766f
Author: Peter De Wachter <pdewacht at gmail.com>
Date: Fri Jan 16 22:51:37 2015 +0100
Use diff -a so that it doesn't abort on binary files.
---
debbindiff/presenters/html.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debbindiff/presenters/html.py b/debbindiff/presenters/html.py
index 1966337..0e06a77 100644
--- a/debbindiff/presenters/html.py
+++ b/debbindiff/presenters/html.py
@@ -150,7 +150,7 @@ def trim_file(path, skip_lines):
# reduce size of diff blocks by prediffing with diff (which is extremely fast)
# and then trimming the blocks larger than the configured limit
def optimize_files_for_diff(path1, path2):
- cmd = ['diff', '-u0', path1, path2]
+ cmd = ['diff', '-au0', path1, path2]
p = subprocess.Popen(cmd, shell=False,
close_fds=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
stdout, stderr = p.communicate()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git
More information about the Reproducible-commits
mailing list