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

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

[elpa] externals/ssh-deploy ea734f5 104/133: Added note


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy ea734f5 104/133: Added note
Date: Sat, 27 Mar 2021 14:48:53 -0400 (EDT)

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

    Added note
---
 ssh-deploy.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ssh-deploy.el b/ssh-deploy.el
index 11ab352..4b00946 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -647,6 +647,8 @@
             (setq files-both-equals (sort files-both-equals #'string<))
             (setq files-both-differs (sort files-both-differs #'string<))
 
+            ;; NOTE We sort lists to make result deterministic and testable
+
             (list directory-a directory-b exclude-list files-both files-a-only 
files-b-only files-both-equals files-both-differs))
         (display-warning 'ssh-deploy "Both directories need to exist to 
perform difference generation." :warning))
     (display-warning 'ssh-deploy "Function 'string-remove-prefix' is missing." 
:warning)))



reply via email to

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