mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 14:33:39 +00:00
compare -L show absolute path (for #312)
This commit is contained in:
@@ -168,11 +168,12 @@ def _dotfile_compare(opts, dotfile, tmp):
|
|||||||
|
|
||||||
if diff != '':
|
if diff != '':
|
||||||
# print diff results
|
# print diff results
|
||||||
line = '=> compare {}: diffing with \"{}\"'
|
|
||||||
LOG.log(line.format(dotfile.key, dotfile.dst))
|
|
||||||
if opts.compare_fileonly:
|
if opts.compare_fileonly:
|
||||||
LOG.raw('<files are different>')
|
line = '=> differ: \"{}\" \"{}\"'.format(dotfile.src, dotfile.dst)
|
||||||
|
LOG.log(line.format(dotfile.key, dotfile.dst))
|
||||||
else:
|
else:
|
||||||
|
line = '=> compare {}: diffing with \"{}\"'
|
||||||
|
LOG.log(line.format(dotfile.key, dotfile.dst))
|
||||||
LOG.emph(diff)
|
LOG.emph(diff)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user