Function: magit-notes-read-args

magit-notes-read-args is a natively compiled function defined in magit-notes.el.

Signature

(magit-notes-read-args PROMPT)

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-notes.el
(defun magit-notes-read-args (prompt)
  (list (magit-read-branch-or-commit prompt (magit-stash-at-point))
        (and-let ((str (seq-find (##string-match "^--ref=\\(.+\\)" %)
                                 (transient-args 'magit-notes))))
          (match-str 1 str))))