From: Tomasz Pajor Date: Mon, 09 Aug 2010 15:32:43 GMT Subject: git commit return code Message-ID: <4C601F9B.6040102@puffy.pl> Hello, Is this proper behaviour: root# su -c "git commit --quiet -a -m \"templates generation\";" # On branch master nothing to commit (working directory clean) root# echo $? 1 root# git --version git version 1.7.1