Browse Source

Tools: run submodule fix 3 times

gps-1.3.1
Andrew Tridgell 3 years ago
parent
commit
8f591a853b
  1. 6
      Tools/gittools/submodule-sync.sh

6
Tools/gittools/submodule-sync.sh

@ -1,6 +1,12 @@ @@ -1,6 +1,12 @@
#!/bin/sh
# 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 sync --recursive
git submodule update --recursive --force --init
git submodule sync --recursive
git submodule update --recursive --force --init
git submodule sync --recursive

Loading…
Cancel
Save