Josef Wolf <jw@xxxxxxxxxxxxx> writes: > jw@raven:~/testrepos> git st > # On branch master > nothing to commit (working directory clean) I take it that you have "alias.st.cmd = status". Observe what this gives you: $ git st; echo $? 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... > jw@raven:~/testrepos> ./test.pl > # On branch master > nothing to commit (working directory clean) > status failed w/ code 1 at ./test.pl line 9 ...consistent with what we see here. -- 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