On 1/9/07, Junio C Hamano <junkio@cox.net> wrote: > "Marco Costalba" <mcostalba@gmail.com> writes: > > > bash-3.1$ pwd > > /home/marco/programmi/git > > bash-3.1$ git status; echo $? > > # On branch refs/heads/origin > > nothing to commit (use "git add file1 file2" to include for commit) > > 1 > > bash-3.1$ git --version > > git version 1.5.0.rc0.g244a7 > > I think that's normal and has been the way for git-commit to > detect if there is anything to commit. > > 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. Thanks Marco - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed Jan 10 05:34:17 2007
This archive was generated by hypermail 2.1.8 : 2007-01-10 05:35:40 EST