Function: magit-name-remote-branch

magit-name-remote-branch is a byte-compiled function defined in magit-git.el.

Signature

(magit-name-remote-branch REV &optional LAX)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-name-remote-branch (rev &optional lax)
  (and$ (magit-rev-name rev "refs/remotes/*")
        (and (or lax (not (string-match-p "[~^]" $)))
             (substring $ 8))))