Code

Combine To: and Cc: headers
authorDaniel Barkalow <barkalow@iabervon.org>
Tue, 19 Feb 2008 07:40:33 +0000 (02:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Feb 2008 05:49:38 +0000 (21:49 -0800)
commit3ee79d9f59684778151804c02cc6ad155b30efde
tree70b816a328f76680f1aeab2b09bf57ed67b599ec
parent7d22708b254d4ec28cd865dc5489d175ee6d65c2
Combine To: and Cc: headers

RFC 2822 only permits a single To: header and a single Cc: header, so
we need to turn multiple values of each of these into a list. This
will be particularly significant with a command-line option to add Cc:
headers, where the user can't make sure to configure valid header sets
in any easy way.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c
t/t4014-format-patch.sh