aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2020-03-26 04:27:54 -0400
committerJunio C Hamano <gitster@pobox.com>2020-03-27 10:56:40 -0700
commit3d180973c1bc0723ab4d2225e8df3469cfaa0434 (patch)
treed90d861f4dfc926dca7e850979b63b3d09c78ac3 /commit.c
parentt5612: don't use `test_must_fail test_cmp` (diff)
downloadgit-3d180973c1bc0723ab4d2225e8df3469cfaa0434.tar.gz
git-3d180973c1bc0723ab4d2225e8df3469cfaa0434.zip
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 <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions