format-patch: use a string_list for headers
authorStephen Boyd <bebarino@gmail.com>
Sun, 7 Mar 2010 22:46:46 +0000 (14:46 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Mar 2010 23:55:41 +0000 (15:55 -0800)
commitca9e0a1b8738959f5bd5a17ec81fa3bd1a326c9d
tree0a8410361986032f6c0a0cc3ffffaf7358619412
parentae6c098f158dd306462024c5cb137b8f7f65cfbd
format-patch: use a string_list for headers

In the next patch we'll need to clear the header lists if the user
specifies --no-add-headers or --no-to or --no-cc. This actually cuts
down on the code a bit too.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c