git-hooks/core.git/hooks/update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit e5580155e0758649dcba2e4ae8d88e005ef783cc Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Fri Mar 22 09:18:35 2019 +0100 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Fri Mar 22 09:23:22 2019 +0100 git-hooks, core: mention author names in From field again See ESC minutes at <https://www.mail-archive.com/search?l=mid&q=20190321154353.go17...@collabora.com>. Technically the sender is still the same, but the real name of the author of the first patch is now visible for faster overview. This is what gerrit did for a long time already. Change-Id: I4618cfb6cb2a4819445ab3d284cd9b5e0b034e22 Reviewed-on: https://gerrit.libreoffice.org/69546 Reviewed-by: Miklos Vajna <vmik...@collabora.com> Tested-by: Miklos Vajna <vmik...@collabora.com> diff --git a/git-hooks/core.git/hooks/update b/git-hooks/core.git/hooks/update index 395ed17..01434af 100755 --- a/git-hooks/core.git/hooks/update +++ b/git-hooks/core.git/hooks/update @@ -14,6 +14,7 @@ if [ "$(id -u -n )" != "logerrit" ] ; then echo "*** The reference for this repo is gerrit. do not push directly to fdo" >&2 exit 1 fi +from="\"$(git show -s --pretty=format:'%an' $3^{}) (via logerrit)\" <loger...@kemper.freedesktop.org>" project=$(cat $GIT_DIR/description) recipients="libreoffice-comm...@lists.freedesktop.org" @@ -135,5 +136,5 @@ else done fi | mail -s "$subject" -a "X-Git-Repository: git://anongit.freedesktop.org/git/libreoffice/core.git" \ - -a "List-Post: <mailto:libreoffice@lists.freedesktop.org>" $recipients + -a "List-Post: <mailto:libreoffice@lists.freedesktop.org>" -a "From: $from" $recipients exit 0 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits