Function: magit-read-local-branch
magit-read-local-branch is a byte-compiled function defined in
magit-git.el.
Signature
(magit-read-local-branch PROMPT &optional SECONDARY-DEFAULT)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-read-local-branch (prompt &optional secondary-default)
(magit-completing-read prompt (magit-list-local-branch-names)
nil t nil 'magit-revision-history
(or (magit-local-branch-at-point)
secondary-default
(magit-get-current-branch))))