glog: Put angle brackets around email addresses

This makes it easier to copy the line and directly use it in git
trailers (e.g. Reviewed-by).
This commit is contained in:
2024-04-25 11:37:16 +02:00
parent 4251fec30e
commit 31fcce9491

View File

@@ -29,9 +29,9 @@ local -a format=(
'--pretty=format:%C(yellow)' # newline created by this eaten by %-
'%-Commit: %H%C(auto)' # yellow commit hash
' %D%Cblue' # auto colored ref names (if any)
'Author: %aN %aE%Cred' # blue author mail
'Author: %aN <%aE>%Cred' # blue author mail
'AuthorDate: %ad%Cblue' # red author date
'Commit: %cN %cE%Cred' # blue commiter mail
'Commit: %cN <%cE>%Cred' # blue commiter mail
'CommitDate: %cd%Cblue' # red commit date
'Signer: %GS%Cgreen' # signer name
'Key (%G?): %GK' # pgp key used to sign