git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / chainlint / return-loop.test
| 1 | test_expect_success 'return-loop' ' |
| 2 | while test $i -lt $((num - 5)) |
| 3 | do |
| 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)) |
| 7 | done |
| 8 | ' |