From 8f591a853bc98cbead09647d9b7803d94848342b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 27 Oct 2021 06:24:32 +1100 Subject: [PATCH] Tools: run submodule fix 3 times --- Tools/gittools/submodule-sync.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tools/gittools/submodule-sync.sh b/Tools/gittools/submodule-sync.sh index 928a01f349..9f90c5e886 100755 --- a/Tools/gittools/submodule-sync.sh +++ b/Tools/gittools/submodule-sync.sh @@ -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