diff --git a/modules/launch_utils.py b/modules/launch_utils.py index 20c7dc127a7..cc276a94ee2 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -150,7 +150,7 @@ def check_run_python(code: str) -> bool: def git_fix_workspace(dir, name): - run(f'"{git}" -C "{dir}" fetch --refetch --no-auto-gc', f"Fetching all contents for {name}", f"Couldn't fetch {name}", live=True) + run(f'"{git}" -C "{dir}" fetch --prefetch --no-auto-gc', f"Fetching all contents for {name}", f"Couldn't fetch {name}", live=True) run(f'"{git}" -C "{dir}" gc --aggressive --prune=now', f"Pruning {name}", f"Couldn't prune {name}", live=True) return