summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-git.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index db7a508..a219093 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -127,8 +127,9 @@ without requiring confirmation.
(defun km/magit-push-all ()
"Push all branches."
(interactive)
- (let ((remote (magit-read-remote "Remote")))
- (magit-run-git-async "push" "-v" remote "--all")))
+ (magit-run-git-async "push" "-v"
+ (magit-read-remote "Remote")
+ "--all"))
(defun km/magit-push-head (remote &optional args)
"Push current branch to same name on remote.