On Mon, Aug 9, 2010 at 15:32, Tomasz Pajor <nikon@xxxxxxxx> wrote: > Is this proper behaviour: > > root# su <username> -c "git commit --quiet -a -m \"templates generation\";" > # On branch master > nothing to commit (working directory clean) > root# echo $? > 1 Yes, you asked it to create a commit, but there's nothing to commit. Hence the failure 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