branch: master commit 9aae752467272214de2930af8d91ef5070e42c91 Author: denin <dvzuba...@yandex.ru> Commit: denin <dvzuba...@yandex.ru>
Fix TRAMP regression file-attributes accepts trampified paths, otherwise it looks for local files. --- ztree-diff-model.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ztree-diff-model.el b/ztree-diff-model.el index 1f78d62..c8dbeb2 100644 --- a/ztree-diff-model.el +++ b/ztree-diff-model.el @@ -146,8 +146,8 @@ Returns t if equal." (let* ((file1-untrampified (ztree-untrampify-filename file1)) (file2-untrampified (ztree-untrampify-filename file2))) (if (or - (/= (nth 7 (file-attributes file1-untrampified)) - (nth 7 (file-attributes file2-untrampified))) + (/= (nth 7 (file-attributes file1)) + (nth 7 (file-attributes file2))) (/= 0 (process-file diff-command nil nil nil "-q" file1-untrampified file2-untrampified)))