aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-bisect.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2022-01-10 20:51:00 +0100
committerJonas Bernoulli <jonas@bernoul.li>2022-01-11 11:34:42 +0100
commit6e86f36ead29e16a0a10e5e14d061ef8f7c4b947 (patch)
tree7b87df387a0620aca85306cb1aef65b61d38c634 /lisp/magit-bisect.el
parentc8c2efd0141186c5808541d6844b58b876a1d81b (diff)
magit-git-version>=, magit-git-version<: New functions
If we are forced to use our own version comparison functions anyway (see previous commit), then we might as well use convenient specialized ones.
Diffstat (limited to 'lisp/magit-bisect.el')
-rw-r--r--lisp/magit-bisect.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/magit-bisect.el b/lisp/magit-bisect.el
index 337d6e0..ff2a53b 100644
--- a/lisp/magit-bisect.el
+++ b/lisp/magit-bisect.el
@@ -65,11 +65,11 @@
["Arguments"
("-n" "Don't checkout commits" "--no-checkout")
("-p" "Follow only first parent of a merge" "--first-parent"
- :if (lambda () (magit--version>= (magit-git-version) "2.29")))
+ :if (lambda () (magit-git-version>= "2.29")))
(6 magit-bisect:--term-old
- :if (lambda () (magit--version>= (magit-git-version) "2.7")))
+ :if (lambda () (magit-git-version>= "2.7")))
(6 magit-bisect:--term-new
- :if (lambda () (magit--version>= (magit-git-version) "2.7")))]
+ :if (lambda () (magit-git-version>= "2.7")))]
["Actions"
("B" "Start" magit-bisect-start)
("s" "Start script" magit-bisect-run)]]
@@ -78,7 +78,7 @@
("B" "Bad" magit-bisect-bad)
("g" "Good" magit-bisect-good)
(6 "m" "Mark" magit-bisect-mark
- :if (lambda () (magit--version>= (magit-git-version) "2.7")))
+ :if (lambda () (magit-git-version>= "2.7")))
("k" "Skip" magit-bisect-skip)
("r" "Reset" magit-bisect-reset)
("s" "Run script" magit-bisect-run)])