diff options
author | Denton Liu <liu.denton@gmail.com> | 2020-03-26 04:27:50 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-27 10:56:40 -0700 |
commit | ef343f41239f63ac20ebe7909756c7d57c5416dd (patch) | |
tree | 72d5959299765239f73441db40a9d81b85a46411 /t/t5702-protocol-v2.sh | |
parent | t5512: stop losing git exit code in here-docs (diff) | |
download | tgif-ef343f41239f63ac20ebe7909756c7d57c5416dd.tar.xz |
t5512: stop losing return codes of git commands
In a pipe, only the return code of the last command is used. Thus, all
other commands will have their return codes masked. Rewrite pipes so
that there are no git commands upstream so that their failure is
reported.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5702-protocol-v2.sh')
0 files changed, 0 insertions, 0 deletions