On Wed, 12 Nov 2008, Junio C Hamano wrote:I didn't realize this was such a bad time to submit this patch. True. Thanks for pointing this out. I think you're mistaken here. It is entirely possible to delete the Cc and Bcc lines with no ill effect. It is also possible to leave them in and not add any addresses and the code won't feed these empty lines to sendmail. In the subroutine send_message, I believe a check is made to determine if $cc is equal to ''. If it's not, then it will use it. The Bcc list is even simpler. It is gathered into @recipients via unique_email_list(). If it's empty, nothing happens. Multiline recipient fields. I know rfc 2822 that you cited above specifies that the address list not contain a CRLF but as a terminator. However, I thought that for readability's sake it would be good to enable the user to introduce a line break into the recipient field. This is why I used the regex's the way I did and slurp'd the file rather than worked on it line-by-line. I definitely agree. I started out coding exactly this way but then thought about Pierre's comment about bloated To and Cc fields. This is why I wanted to allow the user to introduce line breaks into the recipient fields. It's a lot easier to read a nicely formatted email list if there are a lot of addresses. As a second thought, I probably should have put RFC into the subject of this patch. And as far as my code's recipient regex matching the body of the message, I'll try to find a solution. It may not be possible to do multiline recipient fields without this problem. Thanks for reviewing this. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Stephen Rothwell | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Arjan van de Ven | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interfaceforon access scanning |
| Patrick McHardy | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Eric W. Biederman | Re: namespace support requires network modules to say "GPL" |
git: | |
