interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / chainlint / return-loop.test

8 lines · 225 bytes Raw Blame History
1test_expect_success 'return-loop' '
2while test $i -lt $((num - 5))
3do
4# LINT: "|| return {n}" valid loop escape outside subshell; no "&&" needed
5 git notes add -m "notes for commit$i" HEAD~$i || return 1
6 i=$((i + 1))
7done
8'