summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-09 16:51:31 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-09 16:51:31 -0500
commit873fd23306cb004c17cc4304dd68118f675682fc (patch)
treea4f3d50dc063a91dc96640e2a1f4b829f8bd878d
parentad80f4b4896b13d23b488146af4e4df6354191a7 (diff)
downloademacs.d-873fd23306cb004c17cc4304dd68118f675682fc.tar.gz
Don't show tags in Magit refs buffer
This is slow for repos that contain lots of tags.
-rw-r--r--lisp/init-git.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 95c90fc..95e05da 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -139,6 +139,8 @@ START-POINT set to the current branch.
(magit-backup-mode -1)
(add-hook 'magit-find-file-hook 'view-mode)
+ (remove-hook 'magit-refs-sections-hook 'magit-insert-tags)
+
(define-key magit-popup-mode-map (kbd "SPC <t>") 'magit-invoke-popup-switch)
(define-key magit-popup-mode-map (kbd "SPC SPC <t>") 'magit-invoke-popup-option)