From: Junio C Hamano Date: Wed, 16 Jul 2008 05:54:25 GMT Subject: Re: [PATCH 1/2] t/test-lib.sh: Let test_must_fail fail on signals only Message-ID: <7v4p6qwezy.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080716051829.GB4030@segfault.peff.net> Jeff King writes: > This is probably a fine protective measure, and it looks like Junio has > already applied it. But shouldn't any git commands returning such values > be fixed? Which commands return such bogus error codes? Anything that returns error() from its cmd_xxx() routine, for example, would end up exiting with (-1). Is it "such bogus" error codes, though? I am somewhat tired tonight, so I'll leave it up to the list to do the grepping and go to bed ;-)