summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-git.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 747f7df..dedac16 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -133,7 +133,7 @@ If REMOTE is non-nil, limit to remote refs."
(magit-git-lines
"for-each-ref" "--sort=-committerdate" "--format=%(refname:short)"
(format "--count=%s" n)
- (if remote "refs/remotes" "refs")))
+ (if remote "refs/remotes" "refs/heads")))
(defun km/magit-checkout-recent-ref (n)
"Checkout branch from N recent refs.