Variable: magit-revision-insert-related-refs

magit-revision-insert-related-refs is a customizable variable defined in magit-diff.el.

Value

t

Documentation

Whether to show related branches in revision buffers.

nil Don't show any related branches.
t Show related local branches.
all Show related local and remote branches.
mixed Show all containing branches and local merged branches.

See user option magit-revision-insert-related-refs-display-alist to hide specific sets of related branches.

This variable was added, or its default value changed, in magit version 2.1.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-diff.el
(defcustom magit-revision-insert-related-refs t
  "Whether to show related branches in revision buffers.

`nil'   Don't show any related branches.
`t'     Show related local branches.
`all'   Show related local and remote branches.
`mixed' Show all containing branches and local merged branches.

See user option `magit-revision-insert-related-refs-display-alist'
to hide specific sets of related branches."
  :package-version '(magit . "2.1.0")
  :group 'magit-revision
  :type '(choice (const :tag "Do not" nil)
                 (const :tag "Local only" t)
                 (const :tag "All related" all)
                 (const :tag "All containing, local merged" mixed)))