Function: magit-list-containing-branches

magit-list-containing-branches is a byte-compiled function defined in magit-git.el.

Signature

(magit-list-containing-branches &optional REV &rest ARGS)

Documentation

Return list of branches containing REV.

If optional REV is nil, default to the "HEAD" commit. Optional ARGS are additional arguments passed to "git branch".

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-git.el
(defun magit-list-containing-branches (&optional rev &rest args)
  "Return list of branches containing REV.
If optional REV is nil, default to the \"HEAD\" commit.
Optional ARGS are additional arguments passed to \"git branch\"."
  (magit-list-related-branches "--contains" rev args))