git/t/chainlint/return-loop.test

7 lines
187 B
Text
Raw Normal View History

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