Merge branch 'ps/do-not-trust-commit-graph-blindly-for-existence' into kn/rev-list...
[alt-git.git] / t / chainlint / chain-break-continue.test
blobf0af71d8bd914a7bd2785caf40facc7360e8b43c
1 git ls-tree --name-only -r refs/notes/many_notes |
2 while read path
3 do
4 # LINT: broken &&-chain okay if explicit "continue"
5         test "$path" = "foobar/non-note.txt" && continue
6         test "$path" = "deadbeef" && continue
7         test "$path" = "de/adbeef" && continue
9         if test $(expr length "$path") -ne $hexsz
10         then
11                 return 1
12         fi
13 done