Raw
1 test_expect_success 'chain-break-continue' '
2 git ls-tree --name-only -r refs/notes/many_notes |
3 while read path
4 do
5 # LINT: broken &&-chain okay if explicit "continue"
6 test "$path" = "foobar/non-note.txt" && continue
7 test "$path" = "deadbeef" && continue
8 test "$path" = "de/adbeef" && continue
9
10 if test $(expr length "$path") -ne $hexsz
11 then
12 return 1
13 fi
14 done
15 '