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

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

[nongnu] elpa/git-commit 1c2f6e9: magit-fetch-modules: Fix yoda conditio


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 1c2f6e9: magit-fetch-modules: Fix yoda condition
Date: Sat, 18 Dec 2021 22:58:07 -0500 (EST)

branch: elpa/git-commit
commit 1c2f6e901d41feb64956763f6a5c0ac0735cb7b2
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    magit-fetch-modules: Fix yoda condition
    
    I hate that they force me to write yoda conditions.
    I keep messing them up; maybe I am secretly a sith.
---
 lisp/magit-fetch.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/magit-fetch.el b/lisp/magit-fetch.el
index ec808f4..c1f9d46 100644
--- a/lisp/magit-fetch.el
+++ b/lisp/magit-fetch.el
@@ -191,7 +191,7 @@ with a prefix argument."
   (if transient
       (transient-setup 'magit-fetch-modules)
     (let ((git-version (magit-git-version)))
-      (when (version<= "2.8.0" git-version)
+      (when (version>= "2.8.0" git-version)
         (when-let ((value (transient-arg-value "--jobs=" args)))
           (message "Dropping --jobs; not supported by Git v%s" git-version)
           (setq args (remove (format "--jobs=%s" value) args)))))



reply via email to

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