On Thu, Dec 02, 2010 at 09:51:50AM -0800, Junio C Hamano wrote:
Josef Wolf [off-list ref] writes:
quoted
jw@raven:~/testrepos> git st
# On branch master
nothing to commit (working directory clean)
I take it that you have "alias.st.cmd = status".
Yes, I'm still strongly tied to svn ;-)
Observe what this gives you:
$ git st; echo $?
1
If you are running pre-1.7.0 version of git, I think "git status" was a
synonym to "git commit --dry-run" and exited with non-zero status to
signal the caller that there is nothing to commit, which is...
It's 1.6.4.2, so I guess you're right.
Thanks!