t4138: stop losing return codes of git commands
commitb66e0a1773e941f3cd6b837346dfa98cbb8ddabb
authorDenton Liu <liu.denton@gmail.com>
Wed, 27 Nov 2019 19:53:29 +0000 (27 11:53 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Nov 2019 21:20:14 +0000 (29 13:20 -0800)
treeb97d921904603fd8b80675ba354e369af0593ba0
parentafd43c99054a3d666e150bcee66183169b67df7f
t4138: 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/t4138-apply-ws-expansion.sh