Function: magit-list-remote-branch-names
magit-list-remote-branch-names is a byte-compiled function defined in
magit-git.el.
Signature
(magit-list-remote-branch-names &optional REMOTE RELATIVE)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-list-remote-branch-names (&optional remote relative)
(if (and remote relative)
(let ((regexp (format "^refs/remotes/%s/\\(.+\\)" remote)))
(seq-keep (##and (string-match regexp %)
(match-str 1 %))
(magit-list-remote-branches remote)))
(magit-list-refnames (concat "refs/remotes/" remote))))