[sysadmin-bin: 6/168] Remove some excess text from commit mails
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin: 6/168] Remove some excess text from commit mails
- Date: Thu, 24 May 2012 19:51:57 +0000 (UTC)
commit afc7e2fe184e01b974f1fa63bf4ac85b82d5381b
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Wed Jan 28 10:41:22 2009 -0500
Remove some excess text from commit mails
Remove three absolutely useless lines "This is an automated mail..."
from the top of every commit mail.
post-receive-email | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/post-receive-email b/post-receive-email
index 9428a76..6bf734b 100755
--- a/post-receive-email
+++ b/post-receive-email
@@ -187,16 +187,12 @@ generate_email_header()
cat <<-EOF
To: $recipients
From: $USER src gnome org
- Subject: ${emailprefix}$projectshort $refname_type, $short_refname, ${change_type}d. $describe
+ Subject: ${emailprefix}$projectshort $refname_type $short_refname, ${change_type}d. $describe
X-Git-Refname: $refname
X-Git-Reftype: $refname_type
X-Git-Oldrev: $oldrev
X-Git-Newrev: $newrev
- This is an automated email from the git hooks/post-receive script. It was
- generated because a ref change was pushed to the repository containing
- the project "$projectdesc".
-
The $refname_type, $short_refname has been ${change_type}d
EOF
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]