t5512: stop losing return codes of git commands
authorDenton Liu <redacted>
Thu, 26 Mar 2020 08:27:50 +0000 (04:27 -0400)
committerJunio C Hamano <redacted>
Fri, 27 Mar 2020 17:56:40 +0000 (10:56 -0700)
commitef343f41239f63ac20ebe7909756c7d57c5416dd
tree72d5959299765239f73441db40a9d81b85a46411
parent3227ddc97f7e268488791161a88760dbdaf4e6a9
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5512-ls-remote.sh
git clone https://git.99rst.org/PROJECT