Re: Possible bug in 'git status' exit code is 1 instead of 0
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 9, 2007, 18:12 UTC
- Message-ID
- <7vhcv0m5md.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <e5bfff550701090945u5a240fe9xf46cc40b030e1ba7@mail.gmail.com>
"Marco Costalba" <mcostalba@gmail.com> writes:
Show 8 quoted lines
> 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.