[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: git submodule return status
From: Daniel Milde <daniel () milde ! cz>
Date: 2012-06-28 8:28:00
Message-ID: 1340872080.2103.92.camel () athena ! dnet
[Download RAW message or body]
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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic