diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2014-06-23 09:05:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-23 15:50:31 -0700 |
commit | 0f109c92b07eb13ffc675a7e98e9cfc3fee42994 (patch) | |
tree | 1d382069ce3bca622170e0164d6968ba39213f29 /t/t4041-diff-submodule-option.sh | |
parent | verify-commit: scriptable commit signature verification (diff) | |
download | tgif-0f109c92b07eb13ffc675a7e98e9cfc3fee42994.tar.xz |
t7510: exit for loop with test result
t7510 uses for loops in a subshell, which need to make sure that the test
returns with the appropriate error code from within the loop.
Restructure the loops as the usual && chains with a single point of
"exit 1" at the end of the loop to make this clearer.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4041-diff-submodule-option.sh')
0 files changed, 0 insertions, 0 deletions