Function: vc-log-search
vc-log-search is an autoloaded, interactive and byte-compiled function
defined in vc.el.gz.
Signature
(vc-log-search PATTERN)
Documentation
Search the log of changes for PATTERN.
PATTERN is usually interpreted as a regular expression. However, its exact semantics is up to the backend's log search command; some can only match fixed strings.
Display all entries that match log messages in long format. With a prefix argument, ask for a command to run that will output log entries.
Probably introduced at or before Emacs version 27.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
;;;###autoload
(defun vc-log-search (pattern)
"Search the log of changes for PATTERN.
PATTERN is usually interpreted as a regular expression. However, its
exact semantics is up to the backend's log search command; some can
only match fixed strings.
Display all entries that match log messages in long format.
With a prefix argument, ask for a command to run that will output
log entries."
(interactive (list (unless current-prefix-arg
(read-regexp "Search log with pattern: "))))
(let ((backend (vc-deduce-backend)))
(unless backend
(error "Buffer is not version controlled"))
(vc-incoming-outgoing-internal backend pattern
"*vc-search-log*" 'log-search)))