summaryrefslogtreecommitdiffstats
path: root/t/chainlint/chain-break-continue.test
blob: f0af71d8bd914a7bd2785caf40facc7360e8b43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
git ls-tree --name-only -r refs/notes/many_notes |
while read path
do
# LINT: broken &&-chain okay if explicit "continue"
	test "$path" = "foobar/non-note.txt" && continue
	test "$path" = "deadbeef" && continue
	test "$path" = "de/adbeef" && continue

	if test $(expr length "$path") -ne $hexsz
	then
		return 1
	fi
done