[PATCH] git-send-email: treat field names as case-independent

2013-01-06 Thread Nickolai Zeldovich
Field names like To:, Cc:, etc should be treated as case-independent; use a case-insensitive regexp to match them as such. Previously, git-send-email would send email messages with a lowercase cc: line in the body without actually sending a copy of the message to that address. Signed-off-by:

Re: [PATCH] git-send-email: treat field names as case-independent

2013-01-06 Thread Junio C Hamano
Nickolai Zeldovich nicko...@csail.mit.edu writes: Field names like To:, Cc:, etc should be treated as case-independent; use a case-insensitive regexp to match them as such. Previously, git-send-email would send email messages with a lowercase cc: line in the body without actually sending a

Re: [PATCH] git-send-email: treat field names as case-independent

2013-01-06 Thread Nickolai Zeldovich
On Sun, Jan 6, 2013 at 10:27 PM, Junio C Hamano gits...@pobox.com wrote: While I think this patch is a sensible thing to do, I at the same time wonder who is writing cc: in the lowercase in the first place, and if that is one of our tools, we should fix that part as well. Such a header would

Re: [PATCH] git-send-email: treat field names as case-independent

2013-01-06 Thread Junio C Hamano
Nickolai Zeldovich nicko...@csail.mit.edu writes: On Sun, Jan 6, 2013 at 10:27 PM, Junio C Hamano gits...@pobox.com wrote: While I think this patch is a sensible thing to do, I at the same time wonder who is writing cc: in the lowercase in the first place, and if that is one of our tools, we