Welcome to mirror list, hosted at ThFree Co, Russian Federation.

for-loop-abbreviated.test « chainlint « t - git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1084eccb89c1eb35ba329c3ccf371c9aa17ac69c (plain)
1
2
3
4
5
6
# LINT: for-loop lacking optional "in [word...]" before "do"
for it
do
	path=$(expr "$it" : '\([^:]*\)') &&
	git update-index --add "$path" || exit
done