Re: [PATCH v3] Let submodule command exit with error status if path does not exist

2012-08-14 Thread Junio C Hamano
Heiko Voigt writes: > Previously the exit status of git submodule was zero for various > subcommands even though the user specified an unknown path. As any patch that fixes behaviour deals with "Previously", I'd prefer to omit it and describe the current problem in present tense instead. Will q

[PATCH v3] Let submodule command exit with error status if path does not exist

2012-08-14 Thread Heiko Voigt
Previously the exit status of git submodule was zero for various subcommands even though the user specified an unknown path. The reason behind that was that they all pipe the output of module_list into the while loop which then does the action on the paths specified by the commandline. Since the e