git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git submodule return status
@ 2012-06-28  8:28 Daniel Milde
  2012-08-09 20:03 ` [PATCH] Let submodule command exit with error status if path does not exist Heiko Voigt
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Milde @ 2012-06-28  8:28 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-08-14 20:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-28  8:28 git submodule return status Daniel Milde
2012-08-09 20:03 ` [PATCH] Let submodule command exit with error status if path does not exist Heiko Voigt
2012-08-09 20:42   ` Junio C Hamano
2012-08-11  6:49     ` [PATCH v2] " Heiko Voigt
2012-08-12  5:43       ` Junio C Hamano
2012-08-13 16:39         ` Heiko Voigt
2012-08-13 17:11           ` Junio C Hamano
2012-08-14 20:35             ` [PATCH v3] " Heiko Voigt
2012-08-14 20:59               ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).