summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-git.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index be29616..5ab1c44 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -100,10 +100,10 @@ without requiring confirmation.
(interactive (list (magit-read-remote "Remote") (magit-push-arguments)))
(magit-run-git-async "push" "-v" args remote "HEAD"))
-(defun km/magit-log-all-branches (range &optional args files)
- (interactive (magit-log-read-args t))
+(defun km/magit-log-all-branches (&optional args files)
+ (interactive (magit-log-read-args nil t))
(add-to-list 'args "--all")
- (magit-log range args files))
+ (magit-log-head args files))
(defun km/magit-checkout-local-tracking (remote-branch)
"Create and checkout a local tracking branch for REMOTE-BRANCH.