git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] send-email: Clear To: field for every mail
@ 2010-10-04  5:37 Viresh KUMAR
  2010-10-04  7:05 ` [PATCH] send-email: Don't leak To: headers between patches Stephen Boyd
  2010-10-04  7:09 ` [PATCH] send-email: Clear To: field for every mail Junio C Hamano
  0 siblings, 2 replies; 9+ messages in thread
From: Viresh KUMAR @ 2010-10-04  5:37 UTC (permalink / raw)
  To: git, gitster; +Cc: bebarino, Viresh Kumar

While sending multiple patches with a single git-send-email command,
To: field is not cleared after every mail. This patch clears To: field
after every patch sent.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Tested-by: Viresh Kumar <viresh.kumar@st.com>
---
 git-send-email.perl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/git-send-email.perl b/git-send-email.perl
index 1ccfb80..cf17704 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -1150,6 +1150,7 @@ foreach my $t (@files) {
 	my $author_encoding;
 	my $has_content_type;
 	my $body_encoding;
+	@to = ();
 	@cc = ();
 	@xh = ();
 	my $input_format = undef;
-- 
1.7.2.3

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

end of thread, other threads:[~2010-10-04 18:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-04  5:37 [PATCH] send-email: Clear To: field for every mail Viresh KUMAR
2010-10-04  7:05 ` [PATCH] send-email: Don't leak To: headers between patches Stephen Boyd
2010-10-04  7:11   ` Junio C Hamano
2010-10-04  7:15   ` Ævar Arnfjörð Bjarmason
2010-10-04  7:25     ` Ævar Arnfjörð Bjarmason
2010-10-04  8:00       ` Junio C Hamano
2010-10-04 18:55         ` Joe Perches
2010-10-04  7:09 ` [PATCH] send-email: Clear To: field for every mail Junio C Hamano
2010-10-04  7:49   ` viresh kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).