@matheusbsbs / matheus-bagliano / commits / b5e233ecc4
Fork 0

post-receive-email: remove spurious commas in email subject

The previous form produced subjects like [SCM] project.git branch, foo, updated. ... The new one will produce the lighter [SCM] project.git branch foo updated. ... Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Matthieu Moy committed Aug 11, 2010 at 10:14 UTC b5e233ecc411c8685463333d180a135c6866c50e
1 file changed +1 -1
contrib/hooks/post-receive-email
+1 -1
@@ -203,7 +203,7 @@ generate_email_header()
203 # Generate header
204 cat <<-EOF
205 To: $recipients
206 - Subject: ${emailprefix}$projectdesc $refname_type, $short_refname, ${change_type}d. $describe
206 + Subject: ${emailprefix}$projectdesc $refname_type $short_refname ${change_type}d. $describe
207 X-Git-Refname: $refname
208 X-Git-Reftype: $refname_type
209 X-Git-Oldrev: $oldrev