Function: magit-read-ref-sort

magit-read-ref-sort is a natively compiled function defined in magit-refs.el.

Signature

(magit-read-ref-sort PROMPT INITIAL-INPUT HISTORY)

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-refs.el
(defun magit-read-ref-sort (prompt initial-input _history)
  (magit-completing-read prompt
                         '("-committerdate" "-authordate"
                           "committerdate" "authordate")
                         nil nil initial-input))