Skip to content

Commit

Permalink
Merge pull request #90 from marv7000/recursive_clone
Browse files Browse the repository at this point in the history
base: Pull submodules recursively
  • Loading branch information
avdgrinten authored Feb 4, 2025
2 parents 9ef6413 + 7363fd2 commit 58f0c61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xbstrap/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2568,7 +2568,9 @@ def checkout_src(cfg, src, settings):
subprocess.check_call(["git", "rebase", commit], cwd=src.source_dir)

if source.get("submodules", False):
subprocess.check_call(["git", "submodule", "update", "--init"], cwd=src.source_dir)
subprocess.check_call(
["git", "submodule", "update", "--init", "--recursive"], cwd=src.source_dir
)
elif "hg" in source:
args = ["hg", "checkout"]
if "tag" in source:
Expand Down

0 comments on commit 58f0c61

Please sign in to comment.