mailinfo: remove calls to exit() and die() deep in the callchain

The top-level mailinfo() would instead punt when the code in the
deeper part of the callchain detects an unrecoverable error in the
input.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano
2015-10-14 17:45:29 -07:00
parent 669b963af2
commit 6ac617a321
2 changed files with 23 additions and 8 deletions

View File

@@ -31,6 +31,7 @@ struct mailinfo {
struct strbuf **s_hdr_data;
struct strbuf log_message;
int input_error;
};
extern void setup_mailinfo(struct mailinfo *);