Function: magit-read-shelved-branch

magit-read-shelved-branch is a natively compiled function defined in magit-git.el.

Signature

(magit-read-shelved-branch PROMPT)

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-git.el
(defun magit-read-shelved-branch (prompt)
  (magit-completing-read
   prompt
   (mapcar (##substring % 8)
           (nreverse (magit-list-refnames "refs/shelved")))
   nil t nil nil
   (and$ (magit-section-value-if 'shelved-branch)
         (substring $ 13))))