This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8375

-- gerrit

commit 77a93f4bb0934f022e303aff3b9f3f400176d2aa
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Fri Jun 21 14:32:45 2024 +0200

    openocd: build: prevent old clone to fail on git submodules
    
    Working on an old local git repository, the git sub-modules could
    have been set before last changes in .gitmodules.
    The script 'bootstrap' does not update the url of the repositories
    and this can cause the script to fail.
    
    Add 'git submodule sync' to the script to update the url of the
    repositories.
    
    Reported-by: Karl Hammar <k...@aspodata.se>
    Change-Id: I61412f804dbbb7a843aa009139ddb4b8e71beefb
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/bootstrap b/bootstrap
index cf6167fff6..29cd8463e0 100755
--- a/bootstrap
+++ b/bootstrap
@@ -39,6 +39,7 @@ if [ -n "$SKIP_SUBMODULE" ]; then
 else
     echo "Setting up submodules"
     git submodule init
+    git submodule sync
     git submodule update
 fi
 

-- 

Reply via email to