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

8 lines · 200 bytes Raw Blame History
1test_expect_success 'for-loop-abbreviated' '
2# LINT: for-loop lacking optional "in [word...]" before "do"
3for it
4do
5 path=$(expr "$it" : '\([^:]*\)') &&
6 git update-index --add "$path" || exit
7done
8'