summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-08-06 01:37:34 -0400
committerKyle Meyer <kyle@kyleam.com>2015-08-06 01:37:34 -0400
commit064e722903834c872bd129945392601ab3c48138 (patch)
treed52a76b2a3a80c28bb7a925972049f0cc1eabf10 /lisp
parentad692a5fb0a8885da84878c8a50409cc22eac991 (diff)
downloademacs.d-064e722903834c872bd129945392601ab3c48138.tar.gz
magit-list-recent-refs: Limit to local by default
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.