From 0e421c7908ad974b141bba799e36b351a0ce17cc Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sun, 26 Jan 2020 19:54:25 +0100 Subject: [PATCH] default to unified diff --- dotdrop/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotdrop/utils.py b/dotdrop/utils.py index 689b4db..b7fbce2 100644 --- a/dotdrop/utils.py +++ b/dotdrop/utils.py @@ -70,10 +70,10 @@ def shell(cmd, debug=False): def diff(original, modified, raw=True, - diff_cmd='diff -r {0} {1}', debug=False): + diff_cmd='', debug=False): """compare two files""" if not diff_cmd: - diff_cmd = 'diff -r {0} {1}' + diff_cmd = 'diff -r -u {0} {1}' replacements = { "{0}": original,