From: Brian Gernhardt Date: Wed, 30 Jul 2008 19:01:02 GMT Subject: Re: [PATCH v3] Advertise the ability to abort a commit Message-ID: In-Reply-To: <1217440391-13259-1-git-send-email-mail@cup.kalibalik.dk> On Jul 30, 2008, at 1:53 PM, Anders Melchiorsen wrote: > An empty commit message is now treated as a normal situation, not an > error. > > Signed-off-by: Anders Melchiorsen > --- > > So, I decided that I find it wrong to promote functionality > that results in an error. The error is now changed into a > normal exit (with status code 1.) '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. ~~ Brian