summaryrefslogtreecommitdiff
path: root/lisp/init-git.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-01 19:12:50 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-02 22:47:08 -0500
commite548232d10ea6944e9f3cb504b1f8216000c003d (patch)
tree778059b5ddbc4eaf52d30f4d6cb9fb3815652da5 /lisp/init-git.el
parentd61b61d04ba17b4ff24223f1ecf6b0a2a4a364f1 (diff)
downloademacs.d-e548232d10ea6944e9f3cb504b1f8216000c003d.tar.gz
Don't read revision for magit-log-all-branches
A revision doesn't make sense because the '--all' flag is being passed.
Diffstat (limited to 'lisp/init-git.el')
-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.