From: Avery Pennarun Date: Wed, 30 Jul 2008 21:09:13 GMT Subject: Re: [PATCH v3] Advertise the ability to abort a commit Message-ID: <32541b130807301409t2f1f3a80n44c62447c628f03a@mail.gmail.com> In-Reply-To: On 7/30/08, Brian Gernhardt wrote: > 'git commit' should return with an error any time it does not commit. > Otherwise scripts could get confused, thinking everything went fine when > nothing actually got done. Here, the user decided something was in error > and canceled out, the same way using using ^C causes a non-zero return > status. The patch uses a non-zero exit code, which is an error status. But as that's the case, I'm not sure why it's described in the changelog as treating it "not as an error." Have fun, Avery