aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-push.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-08-22 20:55:34 +0200
committerJonas Bernoulli <jonas@bernoul.li>2025-08-22 20:55:34 +0200
commit594723c6391fb1320a1a80d688edda7c96803f16 (patch)
tree5b70f0d2081dc58fe064fd1466faf59efc6c495c /lisp/magit-push.el
parentfcd2907fca0921c5338808e28427d7ca2649479c (diff)
Use Cond-Let's implementation of and-let
Using the "other elements of VARLIST have access to SYMBOLs from earlier elements" variant is IMHO _wrong_ when there are in fact no other elements.
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 f5ff91a..a1691c8 100644
--- a/lisp/magit-push.el
+++ b/lisp/magit-push.el
@@ -155,7 +155,7 @@ the upstream."
(magit-run-git-async "push" "-v" args remote (concat branch ":" merge))))
(defun magit-push--upstream-description ()
- (and-let* ((branch (magit-get-current-branch)))
+ (and-let ((branch (magit-get-current-branch)))
(or (magit-get-upstream-branch branch)
(let ((remote (magit-get "branch" branch "remote"))
(merge (magit-get "branch" branch "merge"))