Re: [PATCH] send-email: Clear To: field for every mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Viresh KUMAR <viresh.kumar@xxxxxx> writes:

> 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>
> ---

Heh, are people who send patches with only S-o-b by your definition not
testing their patches at all ;-)?  As far as I can tell, your patch
applied to 'next' will break t9001 rather badly.

I agree there is a bug that you are trying to address in the series by
Stephen that keeps adding To: address that is read from an earlier output
of format-patch created with its --to option, but I do not think this is a
right fix.  Have you tested sending a series with a plain format-patch
output without extraneous To:, Cc: and such headers?

A normal send-email session takes the recipient address from either --to
or interactively upfront, and then use those addresses kept in @to
variable in the loop, repeatedly.  I do not see anything in your patch to
avoid losing these addresses.
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]