git-hooks/contrib/dev-tools.git/hooks/update | 3 ++- git-hooks/dictionaries.git/hooks/update | 3 ++- git-hooks/help.git/hooks/update | 3 ++- git-hooks/online.git/hooks/update | 3 ++- git-hooks/translations.git/hooks/update | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-)
New commits: commit fc514a83d009b854b1aac233e45d4940dacd61f4 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Mon Jun 3 09:13:17 2019 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Mon Jun 3 13:35:33 2019 +0200 git-hooks mention author names in From field again Sync dictionaries, help, translations, dev-tools and online with core in this regard. Change-Id: I962e239abf467d4f7a6987bf993ab9847f999af7 Reviewed-on: https://gerrit.libreoffice.org/73373 Reviewed-by: Miklos Vajna <vmik...@collabora.com> Tested-by: Miklos Vajna <vmik...@collabora.com> diff --git a/git-hooks/contrib/dev-tools.git/hooks/update b/git-hooks/contrib/dev-tools.git/hooks/update index 181bb00..2e180b1 100755 --- a/git-hooks/contrib/dev-tools.git/hooks/update +++ b/git-hooks/contrib/dev-tools.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/contrib/dev-tools.git" \ - -a "List-Post: <mailto:libreoffice@lists.freedesktop.org>" $recipients + -a "List-Post: <mailto:libreoffice@lists.freedesktop.org>" -a "From: $from" $recipients exit 0 diff --git a/git-hooks/dictionaries.git/hooks/update b/git-hooks/dictionaries.git/hooks/update index 395ed17..01434af 100755 --- a/git-hooks/dictionaries.git/hooks/update +++ b/git-hooks/dictionaries.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 diff --git a/git-hooks/help.git/hooks/update b/git-hooks/help.git/hooks/update index 395ed17..01434af 100755 --- a/git-hooks/help.git/hooks/update +++ b/git-hooks/help.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 diff --git a/git-hooks/online.git/hooks/update b/git-hooks/online.git/hooks/update index 81a6171..45ac5c5 100755 --- a/git-hooks/online.git/hooks/update +++ b/git-hooks/online.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/online.git" \ - -a "List-Post: <mailto:libreoffice@lists.freedesktop.org>" $recipients + -a "List-Post: <mailto:libreoffice@lists.freedesktop.org>" -a "From: $from" $recipients exit 0 diff --git a/git-hooks/translations.git/hooks/update b/git-hooks/translations.git/hooks/update index 395ed17..01434af 100755 --- a/git-hooks/translations.git/hooks/update +++ b/git-hooks/translations.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