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 "FusionForge".
The branch, 6.0 has been updated
via d51dc71de442041afe83b18443d9a18166ade581 (commit)
from 374878c765e85f1c0509ea0309da875476a0b564 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d51dc71de442041afe83b18443d9a18166ade581
Author: Roland Mas <[email protected]>
Date: Tue Jun 2 17:26:05 2015 +0200
Use PHP to RFC2047-encode email subject
diff --git
a/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
b/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
index 8cc5686..91836b1 100755
---
a/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
+++
b/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
@@ -282,6 +282,12 @@ generate_email_header()
test -n "$envelopesender" && routing_headers="From:
$envelopesender${nl}$routing_headers"
test -n "$replyto" && routing_headers="$routing_headers${nl}Reply-To:
$replyto"
+ subj="Subject: ${emailprefix}$shortdesc $refname_type $short_refname
${change_type}d. $(git show --no-patch --format='%h %s' $newrev)"
+ subj=$(print -nr -- "$subj" | php -r '
+mb_internal_encoding("UTF-8");
+echo mb_encode_mimeheader(file_get_contents("php://stdin"),
+"UTF-8", "Q", "\012");')
+
cat <<-EOF
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
@@ -291,7 +297,7 @@ generate_email_header()
X-Git-Reftype: $refname_type
X-Git-Oldrev: $oldrev
X-Git-Newrev: $newrev
- $(perl -Mutf8 -MEncode -e "print encode('MIME-Q', 'Subject:
${emailprefix}$shortdesc $refname_type $short_refname ${change_type}d. '.qx/git
show --no-patch --format='%h %s' $newrev/);")
+ $subj
Auto-Submitted: auto-generated
This is an automated email from the git hooks/post-receive script. It
was
-----------------------------------------------------------------------
Summary of changes:
.../library/scmgit/hooks/postreceiveemail/post-receive-email | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
a/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
b/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
index 8cc5686..91836b1 100755
---
a/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
+++
b/src/plugins/scmhook/library/scmgit/hooks/postreceiveemail/post-receive-email
@@ -282,6 +282,12 @@ generate_email_header()
test -n "$envelopesender" && routing_headers="From:
$envelopesender${nl}$routing_headers"
test -n "$replyto" && routing_headers="$routing_headers${nl}Reply-To:
$replyto"
+ subj="Subject: ${emailprefix}$shortdesc $refname_type $short_refname
${change_type}d. $(git show --no-patch --format='%h %s' $newrev)"
+ subj=$(print -nr -- "$subj" | php -r '
+mb_internal_encoding("UTF-8");
+echo mb_encode_mimeheader(file_get_contents("php://stdin"),
+"UTF-8", "Q", "\012");')
+
cat <<-EOF
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
@@ -291,7 +297,7 @@ generate_email_header()
X-Git-Reftype: $refname_type
X-Git-Oldrev: $oldrev
X-Git-Newrev: $newrev
- $(perl -Mutf8 -MEncode -e "print encode('MIME-Q', 'Subject:
${emailprefix}$shortdesc $refname_type $short_refname ${change_type}d. '.qx/git
show --no-patch --format='%h %s' $newrev/);")
+ $subj
Auto-Submitted: auto-generated
This is an automated email from the git hooks/post-receive script. It
was
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits