t5612: stop losing return codes of git commands
authorDenton Liu <redacted>
Thu, 26 Mar 2020 08:27:54 +0000 (04:27 -0400)
committerJunio C Hamano <redacted>
Fri, 27 Mar 2020 17:56:40 +0000 (10:56 -0700)
commit3d180973c1bc0723ab4d2225e8df3469cfaa0434
treed90d861f4dfc926dca7e850979b63b3d09c78ac3
parent0813dd28b948787ed61b3052d36043d9a8348edc
t5612: 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/t5612-clone-refspec.sh
git clone https://git.99rst.org/PROJECT