Re: [PATCH v3 1/4] imap-send: return with error if curl failed

2017-08-24 Thread Nicolas Morey-Chaisemartin
Le 23/08/2017 à 22:12, Junio C Hamano a écrit : > Nicolas Morey-Chaisemartin writes: > >> curl_append_msgs_to_imap always returned 0, whether curl failed or not. >> Return a proper status so git imap-send will exit with an error code >> if womething wrong happened. >> >> Signed-off-by: Nicolas Mo

Re: [PATCH v3 1/4] imap-send: return with error if curl failed

2017-08-23 Thread Junio C Hamano
Nicolas Morey-Chaisemartin writes: > curl_append_msgs_to_imap always returned 0, whether curl failed or not. > Return a proper status so git imap-send will exit with an error code > if womething wrong happened. > > Signed-off-by: Nicolas Morey-Chaisemartin > --- > imap-send.c | 2 +- > 1 file c

Re: [PATCH v3 1/4] imap-send: return with error if curl failed

2017-08-23 Thread Junio C Hamano
Nicolas Morey-Chaisemartin writes: > curl_append_msgs_to_imap always returned 0, whether curl failed or not. > Return a proper status so git imap-send will exit with an error code > if womething wrong happened. womething? No need to resend only to fix if this is typo s/wome/some/. > > Signed-o

[PATCH v3 1/4] imap-send: return with error if curl failed

2017-08-22 Thread Nicolas Morey-Chaisemartin
curl_append_msgs_to_imap always returned 0, whether curl failed or not. Return a proper status so git imap-send will exit with an error code if womething wrong happened. Signed-off-by: Nicolas Morey-Chaisemartin --- imap-send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/