summaryrefslogtreecommitdiffstats
path: root/t/chainlint/return-loop.test
blob: f90b1713005b0ddc48a0f35be6447894d79680d7 (plain)
1
2
3
4
5
6
while test $i -lt $((num - 5))
do
# LINT: "|| return {n}" valid loop escape outside subshell; no "&&" needed
	git notes add -m "notes for commit$i" HEAD~$i || return 1
	i=$((i + 1))
done