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
Merge branch 'ps/show-ref'
[git.git]
/
t
/
chainlint
/
if-in-loop.test
blob
90c23976feccdd3f3851a39cf7b12cb5f643f628
1
(
2
for i in a b c
3
do
4
if false
5
then
6
# LINT: missing "&&" on "echo" okay since "exit 1" signals error explicitly
7
echo "err"
8
exit 1
9
# LINT: missing "&&" on "fi"
10
fi
11
foo
12
# LINT: missing "&&" on "done"
13
done
14
bar
15
)