summaryrefslogtreecommitdiff
path: root/linear-assignment.c
diff options
context:
space:
mode:
authorLibravatar Luke Shumaker <lukeshu@datawire.io>2021-04-27 15:17:31 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-28 16:47:17 +0900
commitd2f0f819547de35ffc923fc963f806f1656eb2ca (patch)
treeaf0de509be26353df62ecf4848dcefe8ac3a38cc /linear-assignment.c
parentsubtree: don't have loose code outside of a function (diff)
downloadtgif-d2f0f819547de35ffc923fc963f806f1656eb2ca.tar.xz
subtree: more consistent error propagation
Ensure that every $(subshell) that calls a function (as opposed to an external executable) is followed by `|| exit $?`. Similarly, ensure that every `cmd | while read; do ... done` loop is followed by `|| exit $?`. Both of those constructs mean that it can miss `die` calls, and keep running when it shouldn't. Signed-off-by: Luke Shumaker <lukeshu@datawire.io> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'linear-assignment.c')
0 files changed, 0 insertions, 0 deletions