repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Start the 2.46 cycle
[git.git]
/
t
/
chainlint
/
for-loop-abbreviated.test
blob
1084eccb89c1eb35ba329c3ccf371c9aa17ac69c
1
# LINT: for-loop lacking optional "in [word...]" before "do"
2
for it
3
do
4
path=$(expr "$it" : '\([^:]*\)') &&
5
git update-index --add "$path" || exit
6
done