Re: [PATCH v2 16/31] mailinfo: move metainfo_charset to struct mailinfo

2015-10-15 Thread Eric Sunshine
On Wed, Oct 14, 2015 at 4:45 PM, Junio C Hamano wrote: > This requires us to pass the struct down to decode_header() and > convert_to_utf8() callchain. > > Signed-off-by: Junio C Hamano > --- > @@ -520,23 +519,24 @@ static struct strbuf *decode_b_segment(const struct > strbuf *b_seg) > -static v

[PATCH v2 16/31] mailinfo: move metainfo_charset to struct mailinfo

2015-10-14 Thread Junio C Hamano
This requires us to pass the struct down to decode_header() and convert_to_utf8() callchain. Signed-off-by: Junio C Hamano --- builtin/mailinfo.c | 40 +++- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/builtin/mailinfo.c b/builtin/mailinfo.c