Function: magit-list-branches-pointing-at
magit-list-branches-pointing-at is a byte-compiled function defined in
magit-git.el.
Signature
(magit-list-branches-pointing-at REV)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-list-branches-pointing-at (rev)
(let ((re (format "\\`%s refs/\\(heads\\|remotes\\)/\\(.*\\)\\'"
(magit-rev-verify rev))))
(seq-keep (##and (string-match re %)
(let ((name (match-str 2 %)))
(and (not (string-suffix-p "HEAD" name))
name)))
(magit-git-lines "show-ref"))))