summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-08-27 04:05:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-09-05 19:58:52 (GMT)
commit854b5cb46af2281f54038804121a89381169f420 (patch)
tree882954e6735e432c35acca78e8df044095d4b7d8 /Documentation
parentdd2b6b6860e5955323057b7f97f627f686a3b0d9 (diff)
downloadgit-854b5cb46af2281f54038804121a89381169f420.zip
git-854b5cb46af2281f54038804121a89381169f420.tar.gz
git-854b5cb46af2281f54038804121a89381169f420.tar.bz2
t4014: stop losing return codes of git commands
Currently, there are two ways where the return codes of Git commands are lost. The first way is when a command is in the upstream of a pipe. 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. The other way is when a command is in a non-assignment subshell. The return code will be lost in favour of the surrounding command's. Rewrite instances of this such that Git commands output to a file and surrounding commands only call subshells with non-Git commands. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions