Skip to content

Conversation

@hydralien
Copy link

...by first copying to a temp file, then comparing local file with temp and then (if file are not equal) asking user whether she wants to overwrite local file. There is a config parameter sync_on_open to disable it (it's true by default - I thought of option to enable it, but then this plugin is managed manually, so it shouldn't disrupt anyone's workflow till someone deliberately pulls changes).

Generally there should be more elaborate mechanism of handling remote changes (emacs does it pretty well), but this is something to start with.

Let me know if you have any questions or need extra details.

Boris Turchik and others added 7 commits August 1, 2016 16:41
…omparing local file with temp and then (if file are not equal) asking user whether she wants to overwrite local file. There is a config parameter sync_on_open to switch it off.
…so handle the case when remote file does not exist. And update documentation to reflect this new functionality, too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant