[Libreoffice-commits] dev-tools.git: git-hooks/contrib git-hooks/cppunit.git git-hooks/dictionaries.git git-hooks/help.git git-hooks/libcdr.git git-hooks/libexttextcat.git git-hooks/libmspub.git git-hooks/libvisio.git git-hooks/online.git git-hooks/translations.git git-hooks/voting.git git-hooks/website.git

Miklos Vajna vmiklos at collabora.co.uk
Fri Jul 13 15:31:51 UTC 2018


 git-hooks/contrib/buildbot.git/hooks/update     |    5 ++---
 git-hooks/contrib/dev-tools.git/hooks/update    |    5 ++---
 git-hooks/contrib/gitdm-config.git/hooks/update |    5 ++---
 git-hooks/contrib/mso-dumper.git/hooks/update   |    5 ++---
 git-hooks/contrib/test-files.git/hooks/update   |    5 ++---
 git-hooks/cppunit.git/hooks/update              |    5 ++---
 git-hooks/dictionaries.git/hooks/update         |    5 ++---
 git-hooks/help.git/hooks/update                 |    5 ++---
 git-hooks/libcdr.git/hooks/update               |    5 ++---
 git-hooks/libexttextcat.git/hooks/update        |    5 ++---
 git-hooks/libmspub.git/hooks/update             |    5 ++---
 git-hooks/libvisio.git/hooks/update             |    5 ++---
 git-hooks/online.git/hooks/update               |    5 ++---
 git-hooks/translations.git/hooks/update         |    5 ++---
 git-hooks/voting.git/hooks/update               |    5 ++---
 git-hooks/website.git/hooks/update              |    5 ++---
 16 files changed, 32 insertions(+), 48 deletions(-)

New commits:
commit d6fc06573a116a149f06e3eedd1457aababedc06
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Jul 13 17:09:40 2018 +0200

    git-hooks: port core.git changes to other repos
    
    Change-Id: I45450e8e8210d273729812c66c6ac50a86862b85

diff --git a/git-hooks/contrib/buildbot.git/hooks/update b/git-hooks/contrib/buildbot.git/hooks/update
index ac84fcf..601a46f 100755
--- a/git-hooks/contrib/buildbot.git/hooks/update
+++ b/git-hooks/contrib/buildbot.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -114,7 +113,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -129,5 +128,5 @@ else
 		done
 fi |
 mail -s "$subject" -a "X-Git-Repository: git://anongit.freedesktop.org/git/libreoffice/contrib/buildbot.git" \
-     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/contrib/dev-tools.git/hooks/update b/git-hooks/contrib/dev-tools.git/hooks/update
index 58463dd..181bb00 100755
--- a/git-hooks/contrib/dev-tools.git/hooks/update
+++ b/git-hooks/contrib/dev-tools.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,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>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/contrib/gitdm-config.git/hooks/update b/git-hooks/contrib/gitdm-config.git/hooks/update
index 8581efc..394eb02 100644
--- a/git-hooks/contrib/gitdm-config.git/hooks/update
+++ b/git-hooks/contrib/gitdm-config.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,5 @@ else
 		done
 fi |
 mail -s "$subject" -a "X-Git-Repository: git://anongit.freedesktop.org/git/libreoffice/contrib/gitdm-config.git" \
-     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/contrib/mso-dumper.git/hooks/update b/git-hooks/contrib/mso-dumper.git/hooks/update
index 4308a20..e1e8cde 100755
--- a/git-hooks/contrib/mso-dumper.git/hooks/update
+++ b/git-hooks/contrib/mso-dumper.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,5 @@ else
 		done
 fi |
 mail -s "$subject" -a "X-Git-Repository: git://anongit.freedesktop.org/git/libreoffice/contrib/mso-dumper.git" \
-     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/contrib/test-files.git/hooks/update b/git-hooks/contrib/test-files.git/hooks/update
index 9dcbb0b..4f100f5 100755
--- a/git-hooks/contrib/test-files.git/hooks/update
+++ b/git-hooks/contrib/test-files.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,5 @@ else
 		done
 fi |
 mail -s "$subject" -a "X-Git-Repository: git://anongit.freedesktop.org/git/libreoffice/contrib/test-files.git" \
-     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/cppunit.git/hooks/update b/git-hooks/cppunit.git/hooks/update
index 1079e87..3de9e23 100755
--- a/git-hooks/cppunit.git/hooks/update
+++ b/git-hooks/cppunit.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,5 @@ else
 		done
 fi |
 mail -s "$subject" -a "X-Git-Repository: git://anongit.freedesktop.org/git/libreoffice/cppunit.git" \
-     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/dictionaries.git/hooks/update b/git-hooks/dictionaries.git/hooks/update
index b23aee5..395ed17 100755
--- a/git-hooks/dictionaries.git/hooks/update
+++ b/git-hooks/dictionaries.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,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>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/help.git/hooks/update b/git-hooks/help.git/hooks/update
index b23aee5..395ed17 100755
--- a/git-hooks/help.git/hooks/update
+++ b/git-hooks/help.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,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>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/libcdr.git/hooks/update b/git-hooks/libcdr.git/hooks/update
index d1df79b..9723faa 100755
--- a/git-hooks/libcdr.git/hooks/update
+++ b/git-hooks/libcdr.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,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>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/libexttextcat.git/hooks/update b/git-hooks/libexttextcat.git/hooks/update
index 2145fa0..316aee6 100755
--- a/git-hooks/libexttextcat.git/hooks/update
+++ b/git-hooks/libexttextcat.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,5 @@ else
 		done
 fi |
 mail -s "$subject" -a "X-Git-Repository: git://anongit.freedesktop.org/git/libreoffice/libexttextcat.git" \
-     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/libmspub.git/hooks/update b/git-hooks/libmspub.git/hooks/update
index d1df79b..9723faa 100755
--- a/git-hooks/libmspub.git/hooks/update
+++ b/git-hooks/libmspub.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,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>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/libvisio.git/hooks/update b/git-hooks/libvisio.git/hooks/update
index 4530762..45544fb 100755
--- a/git-hooks/libvisio.git/hooks/update
+++ b/git-hooks/libvisio.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,5 @@ else
 		done
 fi |
 mail -s "$subject" -a "X-Git-Repository: git://anongit.freedesktop.org/git/libreoffice/libvisio.git" \
-     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/online.git/hooks/update b/git-hooks/online.git/hooks/update
index 7b269ff..81a6171 100755
--- a/git-hooks/online.git/hooks/update
+++ b/git-hooks/online.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,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>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/translations.git/hooks/update b/git-hooks/translations.git/hooks/update
index b23aee5..395ed17 100755
--- a/git-hooks/translations.git/hooks/update
+++ b/git-hooks/translations.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show -M $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,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>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/voting.git/hooks/update b/git-hooks/voting.git/hooks/update
index d1df79b..9723faa 100755
--- a/git-hooks/voting.git/hooks/update
+++ b/git-hooks/voting.git/hooks/update
@@ -14,7 +14,6 @@ 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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -121,7 +120,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -136,5 +135,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>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0
diff --git a/git-hooks/website.git/hooks/update b/git-hooks/website.git/hooks/update
index 9507439..d16e8b5 100755
--- a/git-hooks/website.git/hooks/update
+++ b/git-hooks/website.git/hooks/update
@@ -14,7 +14,6 @@
 #       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 <%ae>' $3^{})"
 
 project=$(cat $GIT_DIR/description)
 recipients="libreoffice-commits at lists.freedesktop.org"
@@ -114,7 +113,7 @@ else
 	esac
 	bytes=0
 	IFS="$(echo)"
-	git-rev-list "$3" "^$base" | while read rev; do git-show $rev; done | sed 's#\\#\\\\#g' |
+	git-rev-list "$3" "^$base" | while read rev; do git-show -M --pretty=fuller $rev; done | sed 's#\\#\\\\#g' |
 		while read line
 		do
 			if [ "$bytes" -ge "0" ] ; then
@@ -129,5 +128,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>" -a "From: $from" $recipients
+     -a "List-Post: <mailto:libreoffice at lists.freedesktop.org>" $recipients
 exit 0


More information about the Libreoffice-commits mailing list