summaryrefslogtreecommitdiff
path: root/contrib/hooks
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2010-08-11 08:14:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-11 18:23:25 (GMT)
commitb5e233ecc411c8685463333d180a135c6866c50e (patch)
tree1226905cae09fdbefbc7704a4c61aabd9dc5d925 /contrib/hooks
parent7e7db5e4520388d3a6f1efbe2f7a29d43bd06a2b (diff)
downloadgit-b5e233ecc411c8685463333d180a135c6866c50e.zip
git-b5e233ecc411c8685463333d180a135c6866c50e.tar.gz
git-b5e233ecc411c8685463333d180a135c6866c50e.tar.bz2
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>
Diffstat (limited to 'contrib/hooks')
-rwxr-xr-xcontrib/hooks/post-receive-email2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email
index 30ae63d..09c5241 100755
--- a/contrib/hooks/post-receive-email
+++ b/contrib/hooks/post-receive-email
@@ -203,7 +203,7 @@ generate_email_header()
# Generate header
cat <<-EOF
To: $recipients
- Subject: ${emailprefix}$projectdesc $refname_type, $short_refname, ${change_type}d. $describe
+ Subject: ${emailprefix}$projectdesc $refname_type $short_refname ${change_type}d. $describe
X-Git-Refname: $refname
X-Git-Reftype: $refname_type
X-Git-Oldrev: $oldrev