]> git.ipfire.org Git - thirdparty/git.git/blame - t/chainlint/cuddled-loop.test
Merge branch 'js/add-e-clear-patch-before-stating'
[thirdparty/git.git] / t / chainlint / cuddled-loop.test
CommitLineData
24c86180
ES
1# LINT: 'while' loop cuddled with "(" and ")", with embedded (allowed)
2# LINT: "|| exit {n}" to exit loop early, and using redirection "<" to feed
3# LINT: loop; indented with spaces, not tabs
4( while read x
5 do foobar bop || exit 1
6 done <file ) &&
7outside subshell