Re: Possible bug in 'git status' exit code is 1 instead of 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Marco Costalba" <mcostalba@xxxxxxxxx> 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.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]