branch: externals/ssh-deploy
commit ebdbb7ea3b1fc980c9c6ce2da06f318e097aaa17
Author: Christian Johansson <[email protected]>
Commit: Christian Johansson <[email protected]>
Add TRAMP protocol for difference queries
---
ssh-deploy.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ssh-deploy.el b/ssh-deploy.el
index 2060909..240a490 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -73,7 +73,7 @@
"Find differences between the path LOCAL-ROOT-RAW with REMOTE-ROOT via ssh."
(let ((filename (shell-quote-argument buffer-file-name))
(local-root (shell-quote-argument local-root-raw)))
- (let ((remote-path (concat "/" remote-root (replace-regexp-in-string
local-root "" filename))))
+ (let ((remote-path (concat "/ssh:" remote-root (replace-regexp-in-string
local-root "" filename))))
(if (string-match local-root filename)
(progn
(message "Comparing file '%s' to '%s'.." filename remote-path)