summaryrefslogtreecommitdiff
path: root/Documentation/git-worktree.txt
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2019-08-27 00:05:15 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-09-05 12:58:52 -0700
commit854b5cb46af2281f54038804121a89381169f420 (patch)
tree882954e6735e432c35acca78e8df044095d4b7d8 /Documentation/git-worktree.txt
parentt4014: remove confusing pipe in check_threading() (diff)
downloadtgif-854b5cb46af2281f54038804121a89381169f420.tar.xz
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/git-worktree.txt')
0 files changed, 0 insertions, 0 deletions