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 / one-liner-for-loop.test

12 lines · 331 bytes Raw Blame History
1test_expect_success 'one-liner-for-loop' '
2git init dir-rename-and-content &&
3(
4 cd dir-rename-and-content &&
5 test_write_lines 1 2 3 4 5 >foo &&
6 mkdir olddir &&
7# LINT: one-liner for-loop missing "|| exit"; also broken &&-chain
8 for i in a b c; do echo $i >olddir/$i; done
9 git add foo olddir &&
10 git commit -m "original" &&
11)
12'