Re: [PATCH 07/26] mailinfo: move global "line" into mailinfo() function

2015-10-14 Thread Stefan Beller
On Tue, Oct 13, 2015 at 4:16 PM, Junio C Hamano wrote: > The mailinfo() function is the only one that wants the "line_global" > to be directly touchable. Note that handle_body() has to be passed > this strbuf so that it sees the "first line of the input" after the > loop in this function processe

[PATCH 07/26] mailinfo: move global "line" into mailinfo() function

2015-10-13 Thread Junio C Hamano
The mailinfo() function is the only one that wants the "line_global" to be directly touchable. Note that handle_body() has to be passed this strbuf so that it sees the "first line of the input" after the loop in this function processes the headers. It feels a bit dirty that handle_body() then kee