Skip to content

Commit 32a7bd3

Browse files
committed
Add clarifying comment on parallelism to update_checkout.py
1 parent 19026ba commit 32a7bd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/update_checkout/update_checkout/update_checkout.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,8 @@ def obtain_all_additional_swift_sources(args, config, with_ssh, scheme_name,
478478
else:
479479
pool_args.append(new_args)
480480

481+
# Only use `run_parallel` when submodules are not used, since `.git` dir
482+
# can't be accessed concurrently.
481483
if not use_submodules:
482484
if not pool_args:
483485
print("Not cloning any repositories.")

0 commit comments

Comments
 (0)