Function: git-commit-search-message-forward
git-commit-search-message-forward is an interactive and natively
compiled function defined in git-commit.el.
Signature
(git-commit-search-message-forward STRING)
Documentation
Search forward through message history for a match for STRING.
Save current message first.
Key Bindings
git-commit-mode-map C-c M-n
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/git-commit.el
(defun git-commit-search-message-forward (string)
"Search forward 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-forward string)))