From: Daniel Milde Date: Thu, 28 Jun 2012 08:28:00 GMT Subject: git submodule return status Message-ID: <1340872080.2103.92.camel@athena.dnet> Hello, if command git submodule update fails, return status is not set properly. Example: $ git submodule update unknown error: pathspec 'unknown' did not match any file(s) known to git. Did you forget to 'git add'? error: pathspec 'unknown' did not match any file(s) known to git. Did you forget to 'git add'? $ echo $? 0 I suppose the exit status should be 1 or something else, but not 0. Best regards Daniel Milde