>>>>> "Jeff" == Jeff King <peff@xxxxxxxx> writes: Jeff> We already do that (see pager.c:53). The original poster Jeff> still had a problem, but I don't know if it was for actual Jeff> usage or simply a toy Jeff> $ git status Jeff> $ echo $? Jeff> $ echo "why don't exit codes work in status?" | mail git@vger Well, I wanted to know if git status was the right tool to detect a working directory with no changes to commit. So I tried it in the shell, and it failed. I then read the man page. For me, it would be fine to document the current behaviour (i.e. in practice "git status -a > /dev/null" would be what I would use in scripts anyway). To be honest the current behaviour was not something I would have guessed. Thanks to all for paying attention to my complaint, David -- 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