diff --git a/bin/subrepo_checkout.py b/bin/subrepo_checkout.py index 133cc82e0488a10df21ad664666545d84a657736..d6ac609189e58b6ab7cb2b12faa6e1af4477f199 100755 --- a/bin/subrepo_checkout.py +++ b/bin/subrepo_checkout.py @@ -41,7 +41,7 @@ def find_branchfile(directory, branchfile): def repo_checkout(directory, branch, branchfile): print(f"Checking out {directory} to branch {branch}") - os.system(f"cd {directory}; git checkout --recurse-submodules {branch}") + os.system(f"cd {directory}; git checkout --recurse-submodules {branch}; git pull") find_branchfile(directory, branchfile) if __name__ == "__main__":