emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ssh-deploy ebdbb7e 014/173: Add TRAMP protocol for diff


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy ebdbb7e 014/173: Add TRAMP protocol for difference queries
Date: Sat, 20 Oct 2018 10:36:22 -0400 (EDT)

branch: externals/ssh-deploy
commit ebdbb7ea3b1fc980c9c6ce2da06f318e097aaa17
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]