diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-14 17:45:29 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-21 15:59:34 -0700 |
commit | 6ac617a321383b2e3a0f0537e3224ec6229e6500 (patch) | |
tree | 833365fb0c39db2191a234c89009e32e7b3d3b2d /mailinfo.h | |
parent | 669b963af2778c489b0742d2f4d56aeda7dcfad8 (diff) | |
download | git-6ac617a321383b2e3a0f0537e3224ec6229e6500.tar.gz |
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>
Diffstat (limited to 'mailinfo.h')
-rw-r--r-- | mailinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mailinfo.h b/mailinfo.h index 1e97b737f3..93776a7e05 100644 --- a/mailinfo.h +++ b/mailinfo.h @@ -31,6 +31,7 @@ struct mailinfo { struct strbuf **s_hdr_data; struct strbuf log_message; + int input_error; }; extern void setup_mailinfo(struct mailinfo *); |