From: Junio C Hamano Date: Tue, 09 Jan 2007 18:50:16 GMT Subject: Re: Possible bug in 'git status' exit code is 1 instead of 0 Message-ID: <7vslekkpav.fsf@assigned-by-dhcp.cox.net> In-Reply-To: "Marco Costalba" writes: > Ok, I was changing the error detection to check exit status, but it's > definitely better to still check for something written to stdErr > instead. Non-zero status to indicate there is nothing to commit has always been the way for git-status to report since the very first edition of the command (a3e870f2, May 30 2005), so you should be able to depend on it.