Skip to content

Commit b5e233e

Browse files
moygitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7e7db5e commit b5e233e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/hooks/post-receive-email

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ generate_email_header()
203203
# Generate header
204204
cat <<-EOF
205205
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
207207
X-Git-Refname: $refname
208208
X-Git-Reftype: $refname_type
209209
X-Git-Oldrev: $oldrev

0 commit comments

Comments
 (0)