mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00:00
* lisp/vc/vc-git.el (vc-git-log-view-mode): Fix commit regexp (bug#40248)
The regexp 'log-view-message-re' should match e.g. "commit 123456789", not "CommitDate".
This commit is contained in:
parent
f7ebba5724
commit
bca8686f55
@ -1237,7 +1237,7 @@ log entries."
|
||||
(set (make-local-variable 'log-view-message-re)
|
||||
(if (not (memq vc-log-view-type '(long log-search with-diff)))
|
||||
(cadr vc-git-root-log-format)
|
||||
"^commit *\\([0-9a-z]+\\)"))
|
||||
"^commit +\\([0-9a-z]+\\)"))
|
||||
;; Allow expanding short log entries.
|
||||
(when (memq vc-log-view-type '(short log-outgoing log-incoming mergebase))
|
||||
(setq truncate-lines t)
|
||||
|
Loading…
Reference in New Issue
Block a user