Add a "button" option for magit-revision-insert-related-refs
#4735
vincentbernat
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
[ I realize that 1) you're asking for Magit to support this and 2) you're asking for a button, but in case it's useful to you or others... ] I've set (defun km/magit-revision-insert-related-refs ()
(interactive)
(let ((magit-revision-insert-related-refs t))
(magit-refresh)))
(define-key magit-revision-mode-map (kbd "C-c C-r")
#'km/magit-revision-insert-related-refs) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
Inserting related refs is painly slow on some repositories. For example, for Linux repository, it can takes several seconds. This can be fixed by setting
magit-revision-insert-related-refs
tonil
. However, the information can be quite useful. It could be toggled on demand by allowing to set'button
formagit-revision-insert-related-refs
. Upon clicking on the button, the related refs would be computed and the button would be replaced by the result.Beta Was this translation helpful? Give feedback.
All reactions