]> git.ipfire.org Git - thirdparty/git.git/blob - t/chainlint/one-liner-for-loop.test
Merge branch 'jk/clone-allow-bare-and-o-together'
[thirdparty/git.git] / t / chainlint / one-liner-for-loop.test
1 git init dir-rename-and-content &&
2 (
3 cd dir-rename-and-content &&
4 test_write_lines 1 2 3 4 5 >foo &&
5 mkdir olddir &&
6 # LINT: one-liner for-loop missing "|| exit"; also broken &&-chain
7 for i in a b c; do echo $i >olddir/$i; done
8 git add foo olddir &&
9 git commit -m "original" &&
10 )