Function: magit-list-containing-branches

magit-list-containing-branches is a natively 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 /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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))