git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / chainlint / one-liner-for-loop.expect
| 1 | 2 git init dir-rename-and-content && |
| 2 | 3 ( |
| 3 | 4 cd dir-rename-and-content && |
| 4 | 5 test_write_lines 1 2 3 4 5 >foo && |
| 5 | 6 mkdir olddir && |
| 6 | 7 for i in a b c; do echo $i >olddir/$i; ?!LINT: missing '|| exit 1'?! done ?!LINT: missing '&&'?! |
| 7 | 8 git add foo olddir && |
| 8 | 9 git commit -m "original" && |
| 9 | 10 ) |