[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 4c46903: magit-fetch-modules: Fix previous comm
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 4c46903: magit-fetch-modules: Fix previous commit |
Date: |
Sun, 19 Dec 2021 00:57:39 -0500 (EST) |
branch: elpa/git-commit
commit 4c469037756ace8b0cc42c05da0dd1864c5bc2a4
Author: Kyle Meyer <kyle@kyleam.com>
Commit: Kyle Meyer <kyle@kyleam.com>
magit-fetch-modules: Fix previous commit
Emacs does not have a version>= function. Use version< instead,
flipping the arguments (and eliminating the yoda condition the last
commit mentioned).
---
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 c1f9d46..0443cdd 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< git-version "2.8.0")
(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)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/git-commit 4c46903: magit-fetch-modules: Fix previous commit,
ELPA Syncer <=