From: Junio C Hamano <gitster@pobox•com>
To: Matthieu Moy <Matthieu.Moy@grenoble-inp•fr>
Cc: Stefan Beller <stefanbeller@gmail•com>,
l.s.r@web•de, git@vger•kernel.org
Subject: Re: [PATCH] mailsplit.c: remove dead code
Date: Tue, 12 Aug 2014 14:38:45 -0700 [thread overview]
Message-ID: <xmqqvbpx4cd6.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <vpqy4utz8x5.fsf@anie.imag.fr> (Matthieu Moy's message of "Tue, 12 Aug 2014 23:37:26 +0200")
Matthieu Moy <Matthieu.Moy@grenoble-inp•fr> writes:
> Stefan Beller <stefanbeller@gmail•com> writes:
>
>> + if (is_bare && !allow_bare) {
>> + unlink(name);
>> + fprintf(stderr, "corrupt mailbox\n");
>> + exit(1);
>> + }
>
> Not directly related to your patch, but shouldn't this be using
>
> die(_("corrupt mailbox"));
>
> instead?
Doesn't the exit status of mailsplit matter to its existing
invokers?
next prev parent reply other threads:[~2014-08-12 21:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 21:11 [PATCH] mailsplit.c: remove dead code Stefan Beller
2014-08-12 16:38 ` René Scharfe
2014-08-12 21:21 ` Stefan Beller
2014-08-12 21:37 ` Matthieu Moy
2014-08-12 21:38 ` Junio C Hamano [this message]
2014-08-12 21:50 ` Junio C Hamano
2014-08-12 21:56 ` Matthieu Moy
2014-08-12 22:58 ` Jonathan Nieder
2014-08-17 8:14 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqvbpx4cd6.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox$(echo .)com \
--cc=Matthieu.Moy@grenoble-inp$(echo .)fr \
--cc=git@vger$(echo .)kernel.org \
--cc=l.s.r@web$(echo .)de \
--cc=stefanbeller@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox