repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
revision.c: better error reporting on ref from different worktrees
[git.git]
/
t
/
chainlint
/
cuddled-loop.test
blob
a841d781f04f01ff1c906027d0b139fb854d4fb9
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 ) &&
7
outside subshell