Closed dvzubarev closed 7 years ago
Thanks, I don't use ztree over TRAMP so can't test. @Silex does this fix works for you?
The fix looks correct. I see that you attempted to make TRAMP faster by checking the file size instead of doing the diff, but based on the latest comment in #18 it looks like it's still slow.
You'd really set up a test for this, that way you actually can measure differences and regressions.
The test would be fairly simple: have directory A and B (which is a copy of A with differences).
Repeat and have 3-4 different A & B as input.
Ok I'll accept the fix then.
Merged, thanks @dvzubarev !
file-attributes accepts trampified paths, otherwise it looks for local files.