1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 17:59:46 +00:00

compare -L show absolute path (for #312)

This commit is contained in:
deadc0de6
2021-06-13 14:03:14 +02:00
parent 5d4b12eaf4
commit 1ee22bfb79

View File

@@ -168,11 +168,12 @@ def _dotfile_compare(opts, dotfile, tmp):
if diff != '':
# print diff results
line = '=> compare {}: diffing with \"{}\"'
LOG.log(line.format(dotfile.key, dotfile.dst))
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:
line = '=> compare {}: diffing with \"{}\"'
LOG.log(line.format(dotfile.key, dotfile.dst))
LOG.emph(diff)
return False