aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-push.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2024-12-09 10:33:39 +0100
committerJonas Bernoulli <jonas@bernoul.li>2024-12-09 10:33:39 +0100
commit873da4a62dc609ff0c8a7e0ec417b263e3ed2269 (patch)
tree2a0eb0b69ecfbcd6a2ab525f63e92310779b925d /lisp/magit-push.el
parent033a0c0cdc036118745d425b835840d8fd0f160b (diff)
magit-push-implicitly--desc: Cosmetics
Diffstat (limited to 'lisp/magit-push.el')
-rw-r--r--lisp/magit-push.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-push.el b/lisp/magit-push.el
index 8e89d73..558a0da 100644
--- a/lisp/magit-push.el
+++ b/lisp/magit-push.el
@@ -305,7 +305,7 @@ what this command will do. To add it use something like:
(let ((remotes (magit-list-remotes)))
(cond
((and (magit-git-version>= "2.27")
- (= (length remotes) 1))
+ (length= remotes 1))
(car remotes))
((member "origin" remotes) "origin"))))))
(if (null remote)