1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 06:48:49 +00:00

default to unified diff

This commit is contained in:
deadc0de6
2020-01-26 19:54:25 +01:00
parent 8a663e7267
commit 0e421c7908

View File

@@ -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,