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

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

[elpa] externals/ssh-deploy 9b5d3d2 111/133: Fixed bug wih conditonal lo


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy 9b5d3d2 111/133: Fixed bug wih conditonal logic for async file diff
Date: Sat, 27 Mar 2021 14:48:54 -0400 (EDT)

branch: externals/ssh-deploy
commit 9b5d3d26c30212f91911369b072d932ec219f9fb
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Fixed bug wih conditonal logic for async file diff
---
 ssh-deploy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ssh-deploy.el b/ssh-deploy.el
index 7c0c4c0..eba1433 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -697,6 +697,7 @@
   (let ((result (ediff-same-file-contents file-a file-b)))
     (list result file-a file-b)))
 
+
 ;; PUBLIC functions
 ;;
 ;; handlers use these to do things and people SHOULD be able to use these as 
they please themselves
@@ -709,7 +710,7 @@
   (message "Comparing file '%s' to '%s'.." file-a file-b)
   (let ((async (or async ssh-deploy-async))
         (async-with-threads (or async-with-threads 
ssh-deploy-async-with-threads)))
-    (if (> async 1)
+    (if (> async 0)
         (ssh-deploy--async-process
          (lambda() (ssh-deploy--diff-files file-a file-b))
          (lambda(result)



reply via email to

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