Function: magit--unnamed-upstream-p
magit--unnamed-upstream-p is a byte-compiled function defined in
magit-git.el.
Signature
(magit--unnamed-upstream-p REMOTE MERGE)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit--unnamed-upstream-p (remote merge)
(and remote (string-match-p "\\(\\`\\.\\{0,2\\}/\\|[:@]\\)" remote)
merge (string-prefix-p "refs/" merge)))