diff options
author | Luke Shumaker <lukeshu@datawire.io> | 2021-04-27 15:17:31 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-28 16:47:17 +0900 |
commit | d2f0f819547de35ffc923fc963f806f1656eb2ca (patch) | |
tree | af0de509be26353df62ecf4848dcefe8ac3a38cc /shallow.h | |
parent | subtree: don't have loose code outside of a function (diff) | |
download | tgif-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 'shallow.h')
0 files changed, 0 insertions, 0 deletions