cjohansson / emacs-ssh-deploy

A deployment plugin via Tramp for Emacs.
GNU General Public License v3.0
154 stars 6 forks source link

External changes reported even though remote is identical to local #22

Closed cjohansson closed 7 years ago

cjohansson commented 7 years ago

This happens if local revision is different from local file and local file is identical to remote file.

Steps to reproduce:

  1. Upload a file to remote
  2. Make changes to file but don't upload
  3. Upload the files parent folder to remote
  4. Open file again, it will report that remote file has external changes even though it's identical to local

Suggested fix:

  1. When remote file differs from local revision, also check if remote file differs from local file, if it doesn't just make a new local revision of the local file