Function: magit--painted-branch-at-point
magit--painted-branch-at-point is a natively compiled function defined
in magit-git.el.
Signature
(magit--painted-branch-at-point &optional TYPE)
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-git.el
(defun magit--painted-branch-at-point (&optional type)
(or (and (not (eq type 'remote))
(memq (get-text-property (magit-point) 'font-lock-face)
(list 'magit-branch-local
'magit-branch-current))
(and$ (magit-thing-at-point 'git-revision t)
(cdr (magit-split-branch-name $))))
(and (not (eq type 'local))
(memq (get-text-property (magit-point) 'font-lock-face)
(list 'magit-branch-remote
'magit-branch-remote-head))
(thing-at-point 'git-revision t))))