t7700: stop losing return codes of git commands
authorDenton Liu <liu.denton@gmail.com>
Wed, 4 Dec 2019 22:03:30 +0000 (14:03 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Dec 2019 22:25:05 +0000 (14:25 -0800)
commitd9b31db2c42580af96499e763f4a681803f72826
tree38ec747703755a7ff09b997673c83a13635854e4
parent3699d69df0345309ba16b9c7fb43fd86a7595f58
t7700: 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 we will know if a
command fails.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7700-repack.sh