[Libreoffice-commits] dev-tools.git: git-hooks/contrib git-hooks/dictionaries.git git-hooks/help.git git-hooks/online.git git-hooks/translations.git
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Jun 3 11:35:51 UTC 2019
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 <vmiklos at collabora.com>
AuthorDate: Mon Jun 3 09:13:17 2019 +0200
Commit: Miklos Vajna <vmiklos at 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 <vmiklos at collabora.com>
Tested-by: Miklos Vajna <vmiklos at 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)\" <logerrit at kemper.freedesktop.org>"
project=$(cat $GIT_DIR/description)
recipients="libreoffice-commits at 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 at lists.freedesktop.org>" $recipients
+ -a "List-Post: <mailto:libreoffice at 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)\" <logerrit at kemper.freedesktop.org>"
project=$(cat $GIT_DIR/description)
recipients="libreoffice-commits at 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 at lists.freedesktop.org>" $recipients
+ -a "List-Post: <mailto:libreoffice at 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)\" <logerrit at kemper.freedesktop.org>"
project=$(cat $GIT_DIR/description)
recipients="libreoffice-commits at 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 at lists.freedesktop.org>" $recipients
+ -a "List-Post: <mailto:libreoffice at 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)\" <logerrit at kemper.freedesktop.org>"
project=$(cat $GIT_DIR/description)
recipients="libreoffice-commits at 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 at lists.freedesktop.org>" $recipients
+ -a "List-Post: <mailto:libreoffice at 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)\" <logerrit at kemper.freedesktop.org>"
project=$(cat $GIT_DIR/description)
recipients="libreoffice-commits at 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 at lists.freedesktop.org>" $recipients
+ -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" -a "From: $from" $recipients
exit 0
More information about the Libreoffice-commits
mailing list