summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-02-24 02:04:02 -0500
committerKyle Meyer <kyle@kyleam.com>2016-02-24 02:04:02 -0500
commit57d11efe9405949a2f04ffd9dd2d4f698a2af77f (patch)
tree0b1004e2730089a99152600faea5f0694350d865 /lisp
parente4c0d3111e1cb44952a390977a6abcd0469449c6 (diff)
downloademacs.d-57d11efe9405949a2f04ffd9dd2d4f698a2af77f.tar.gz
magit: Don't insert related refs by default
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-magit.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/km-magit.el b/lisp/km-magit.el
index 91a6e6c..199d858 100644
--- a/lisp/km-magit.el
+++ b/lisp/km-magit.el
@@ -544,6 +544,11 @@ show tags by default."
(add-hook 'magit-refs-sections-hook 'magit-insert-tags t t))
(magit-refresh-buffer))
+(defun km/magit-revision-insert-related-refs ()
+ (interactive)
+ (let ((magit-revision-insert-related-refs t))
+ (magit-refresh)))
+
(defun km/magit-log-flip-revs ()
"Swap revisions in log range."
(interactive)