Function: git-commit-search-message-backward
git-commit-search-message-backward is an interactive and byte-compiled
function defined in git-commit.el.
Signature
(git-commit-search-message-backward STRING)
Documentation
Search backward through message history for a match for STRING.
Save current message first.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-commit.el
(defun git-commit-search-message-backward (string)
"Search backward through message history for a match for STRING.
Save current message first."
(interactive
(list (read-string (format-prompt "Comment substring"
log-edit-last-comment-match)
nil nil log-edit-last-comment-match)))
(cl-letf (((symbol-function #'log-edit-previous-comment)
(symbol-function #'git-commit-prev-message)))
(log-edit-comment-search-backward string)))