Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 2/2] send-email: allow multiple emails using --cc, --to and --bcc

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:05:06

Rémi Lespinet [off-list ref] writes:
Junio C Hamano [off-list ref] writes:
quoted
The reason why we have the "verify the input" thing, allow users to
supply multiple --to/--cc/etc., and do not try to split the
addresses ourselves is because we want to avoid mistakenly splitting
a single address like the above into two and producing syntactically
incorrect addresses.  People have relied on the current behaviour
for a long time, without manually dropping comma when they send
their patches with --to='"Jane, Doe" [off-list ref]'.
Yes, but they couldn't send with --to='"Jane, Doe" [off-list ref]'
anyway since 79ee555b (Check and document the options to prevent
mistakes. 2006-06-21).  So I don't think that this part is a
regression.
Ahh, stupid me.  Thanks.

Then starting with the "split at the comma" implementation is
perfectly fine.  People will learn not to use '"Doe, Jane" <jdoe>'
because that will not work while the implementation is limited, and
later when it is enhanced, they can start using that form.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help