Initialize submodules when they are added after first clone
This commit is contained in:
parent
d7610135f0
commit
ec926d76bc
|
@ -109,6 +109,11 @@ updates() {
|
|||
error pull_failed
|
||||
return 3
|
||||
fi
|
||||
# Maybe some new submodule was added? We need to clone it
|
||||
if ! git submodule update --init --recursive; then
|
||||
error pull_failed
|
||||
return 3
|
||||
fi
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
|
|
Loading…
Reference in New Issue