Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/chainlint/one-liner-for-loop.test # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / chainlint / one-liner-for-loop.test` 12 lines ยท 331 bytes Raw Blame History 1 test_expect_success 'one-liner-for-loop' ' 2 git 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 '