Function: magit-local-branch-p
magit-local-branch-p is a natively compiled function defined in
magit-git.el.
Signature
(magit-local-branch-p STRING)
Documentation
Return t if STRING is a local branch.
Signal an error if STRING is not a string.
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-git.el
(defun magit-local-branch-p (string)
"Return t if STRING is a local branch.
Signal an error if STRING is not a string."
(cl-assert (stringp string))
(magit-git-success "show-ref" "--quiet"
(if (magit-git-version>= "2.46") "--branches" "--heads")
string))