All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] post-receive-email: remove spurious commas in email subject.
@ 2010-08-03 13:10 Matthieu Moy
  2010-08-03 13:50 ` Kevin P. Fleming
  0 siblings, 1 reply; 3+ messages in thread
From: Matthieu Moy @ 2010-08-03 13:10 UTC (permalink / raw)
  To: git; +Cc: Matthieu Moy

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>
---
I am the only one bothered by these extra commas in email subject? If
so, I can live with it, but I thought I'd give it a try ;-).

 contrib/hooks/post-receive-email |    2 +-
 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
-- 
1.7.2.1.30.g18195

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] post-receive-email: remove spurious commas in email subject.
  2010-08-03 13:10 [PATCH] post-receive-email: remove spurious commas in email subject Matthieu Moy
@ 2010-08-03 13:50 ` Kevin P. Fleming
  2010-08-11  8:14   ` [PATCH (resend)] " Matthieu Moy
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin P. Fleming @ 2010-08-03 13:50 UTC (permalink / raw)
  To: Matthieu Moy; +Cc: git

On 08/03/2010 08:10 AM, Matthieu Moy wrote:
> 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>
> ---
> I am the only one bothered by these extra commas in email subject? If
> so, I can live with it, but I thought I'd give it a try ;-).

No, I've removed them in our local copy as well, but never bothered to
send the changes to the list :-)

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming@digium.com
Check us out at www.digium.com & www.asterisk.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH (resend)] post-receive-email: remove spurious commas in email subject
  2010-08-03 13:50 ` Kevin P. Fleming
@ 2010-08-11  8:14   ` Matthieu Moy
  0 siblings, 0 replies; 3+ messages in thread
From: Matthieu Moy @ 2010-08-11  8:14 UTC (permalink / raw)
  To: git, gitster; +Cc: Matthieu Moy

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>
---
"Kevin P. Fleming" <kpfleming@digium.com> writes:

> On 08/03/2010 08:10 AM, Matthieu Moy wrote:
>
>> I am the only one bothered by these extra commas in email subject? If
>> so, I can live with it, but I thought I'd give it a try ;-).
>
> No, I've removed them in our local copy as well, but never bothered to
> send the changes to the list :-)

I guess it's time to get this into git.git then ...

 contrib/hooks/post-receive-email |    2 +-
 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
-- 
1.7.2.1.52.g95e25.dirty

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-11  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-03 13:10 [PATCH] post-receive-email: remove spurious commas in email subject Matthieu Moy
2010-08-03 13:50 ` Kevin P. Fleming
2010-08-11  8:14   ` [PATCH (resend)] " Matthieu Moy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.