Tools: run submodule fix 3 times

This commit is contained in:
Andrew Tridgell 2021-10-27 06:24:32 +11:00
parent d82ad94b7e
commit 8f591a853b
1 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,12 @@
#!/bin/sh #!/bin/sh
# this copes with moving origin remote to a new git organisation # this copes with moving origin remote to a new git organisation
# we run it 3 times due to the poor handling of recursion
git submodule update --recursive --force --init git submodule update --recursive --force --init
git submodule sync --recursive git submodule sync --recursive
git submodule update --recursive --force --init git submodule update --recursive --force --init
git submodule sync --recursive
git submodule update --recursive --force --init
git submodule sync --recursive