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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user