You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.
The problem is what the backend for file comparison is still the simple diff utility, which doesn't work over the network. If you have any ideas on how it could be solved please write here. I'll keep this issue open until we find some way forward.
@fourier I haven't dug into the ztree sources, so I'm not exactly sure how you do things. But I have some ideas for how you could get this feature into ztree. First off, you could use rsync to determine which files are different on local and remote hosts. The option to use for this is --dry-run (-n for short). This doesn't show you a diff in and of itself, but it lets you determine which files are different. You could obviously add some more options to make the output more to your liking. Here's the rsync man page for reference.
The only problem that I can think of off the top of my head is rsync's limitations on how many remote files you can use. In other words, rsync only lets you use one remote file in your inputs. The other file has to be local. There are some workarounds for this, but I'm not sure whether you'd be interested in them yet.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be nice if ztree-diff allowed comparison from two directories on different hosts (via tramp).
The text was updated successfully, but these errors were encountered: