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@xxxxxx> Tested-by: Viresh Kumar <viresh.kumar@xxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html