* 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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue