Function: magit-stash-read-message-traditional
magit-stash-read-message-traditional is a byte-compiled function
defined in magit-stash.el.
Signature
(magit-stash-read-message-traditional)
Documentation
Read a message from the minibuffer, to be used for a stash.
If the user confirms the initial-input unmodified, then the abbreviated commit hash and commit summary are appended. The resulting message is what Git would have used.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-stash.el
(defun magit-stash-read-message-traditional ()
"Read a message from the minibuffer, to be used for a stash.
If the user confirms the initial-input unmodified, then the
abbreviated commit hash and commit summary are appended.
The resulting message is what Git would have used."
(let* ((default (format "On %s: "
(or (magit-get-current-branch) "(no branch)")))
(input (magit-read-string "Stash message" default)))
(if (equal input default)
(concat default (magit-rev-format "%h %s"))
input)))