diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-08-06 01:37:34 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-08-06 01:37:34 -0400 |
commit | 064e722903834c872bd129945392601ab3c48138 (patch) | |
tree | d52a76b2a3a80c28bb7a925972049f0cc1eabf10 | |
parent | ad692a5fb0a8885da84878c8a50409cc22eac991 (diff) | |
download | emacs.d-064e722903834c872bd129945392601ab3c48138.tar.gz |
magit-list-recent-refs: Limit to local by default
-rw-r--r-- | lisp/init-git.el | 2 |
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. |