Variable: vc-git-root-log-format
vc-git-root-log-format is a customizable variable defined in
vc-git.el.gz.
Value
("%d%h..: %an %ad %s"
"^\\(?:[*/\\| ]+ \\)?\\(?2: ([^)]+)\\)?\\(?1:[0-9a-z]+\\)\\.\\.: \\(?3:.*?\\)[ ]+\\(?4:[0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\)"
((1 'log-view-message) (2 'change-log-list nil lax)
(3 'change-log-name) (4 'change-log-date)))
Documentation
Git log format for vc-print-root-log.
This should be a list (FORMAT REGEXP KEYWORDS), where FORMAT is a
format string (which is passed to "git log" via the argument
"--pretty=tformat:FORMAT"), REGEXP is a regular expression
matching the resulting Git log output, and KEYWORDS is a list of
font-lock-keywords for highlighting the Log View buffer.
This variable was added, or its default value changed, in Emacs 24.1.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-git.el.gz
(defcustom vc-git-root-log-format
'("%d%h..: %an %ad %s"
;; The first shy group matches the characters drawn by --graph.
;; We use numbered groups because `log-view-message-re' wants the
;; revision number to be group 1.
"^\\(?:[*/\\| ]+ \\)?\\(?2: ([^)]+)\\)?\\(?1:[0-9a-z]+\\)\\.\\.: \
\\(?3:.*?\\)[ \t]+\\(?4:[0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\)"
((1 'log-view-message)
(2 'change-log-list nil lax)
(3 'change-log-name)
(4 'change-log-date)))
"Git log format for `vc-print-root-log'.
This should be a list (FORMAT REGEXP KEYWORDS), where FORMAT is a
format string (which is passed to \"git log\" via the argument
\"--pretty=tformat:FORMAT\"), REGEXP is a regular expression
matching the resulting Git log output, and KEYWORDS is a list of
`font-lock-keywords' for highlighting the Log View buffer."
:type '(list string regexp (repeat sexp))
:version "24.1")