branch: elpa/git-commit commit 4c469037756ace8b0cc42c05da0dd1864c5bc2a4 Author: Kyle Meyer <k...@kyleam.com> Commit: Kyle Meyer <k...@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)))))