aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4018/cpp-function-returning-pointer
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@datawire.io>2021-04-27 15:17:31 -0600
committerJunio C Hamano <gitster@pobox.com>2021-04-28 16:47:17 +0900
commitd2f0f819547de35ffc923fc963f806f1656eb2ca (patch)
treeaf0de509be26353df62ecf4848dcefe8ac3a38cc /t/t4018/cpp-function-returning-pointer
parentsubtree: don't have loose code outside of a function (diff)
downloadgit-d2f0f819547de35ffc923fc963f806f1656eb2ca.tar.gz
git-d2f0f819547de35ffc923fc963f806f1656eb2ca.zip
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 't/t4018/cpp-function-returning-pointer')
0 files changed, 0 insertions, 0 deletions