diff --git a/modules/tools/magit/config.el b/modules/tools/magit/config.el index c3acee00a..9bb463692 100644 --- a/modules/tools/magit/config.el +++ b/modules/tools/magit/config.el @@ -22,8 +22,11 @@ For example, diffs and log buffers. Accepts `left', `right', `up', and `down'.") magit-diff-refine-hunk t ; show granular diffs in selected hunk ;; Don't autosave repo buffers. This is too magical, and saving can ;; trigger a bunch of unwanted side-effects, like save hooks and - ;; formatters. Trust us to know what we're doing. - magit-save-repository-buffers nil) + ;; formatters. Trust the user to know what they're doing. + magit-save-repository-buffers nil + ;; Don't display parent/related refs in commit buffers; they are rarely + ;; helpful and only add to runtime costs. + magit-revision-insert-related-refs nil) (add-hook 'magit-process-mode-hook #'goto-address-mode) (defadvice! +magit-revert-repo-buffers-deferred-a (&rest _)