diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-01 20:23:50 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-03 12:38:05 -0700 |
commit | e7eb15faca767cd00acf722ce0382538b7add29a (patch) | |
tree | e68b64d61b46392b0fb3435f4161d953e45f5cf3 /t/t6000-rev-list-misc.sh | |
parent | t6036: fix broken "merge fails but has appropriate contents" tests (diff) | |
download | tgif-e7eb15faca767cd00acf722ce0382538b7add29a.tar.xz |
t7201: drop pointless "exit 0" at end of subshell
This test employs a for-loop inside a subshell and correctly aborts the
loop and fails the test overall (via "exit 1") if any iteration of the
for-loop fails. Otherwise, it exits the subshell with an explicit but
entirely unnecessary "exit 0", presumably to indicate that all
iterations of the loop succeeded. The &&-chain is broken between the
for-loop and the "exit 0". Rather than fixing the &&-chain, just drop
the pointless "exit 0".
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6000-rev-list-misc.sh')
0 files changed, 0 insertions, 0 deletions