Junio C Hamano [off-list ref] writes:
quoted hunk
@@ -995,10 +995,10 @@ static int mailinfo(struct mailinfo *mi, const char *msg, const char *patch)
/* process the email header */
while (read_one_header_line(&line, mi->input))
- check_header(mi, &line, p_hdr_data, 1);
+ check_header(mi, &line, mi->p_hdr_data, 1);
handle_body(mi, &line);
- fclose(patchfile);
+ fclose(mi->patchfile);
... this is the bit that should have be in 20/31.