diff options
author | Gavin Mak <gavinmak@google.com> | 2025-06-18 14:38:28 -0700 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2025-06-18 15:23:59 -0700 |
commit | 6b8e9fc8db47a29dbb288cb2109a78e2518e616a (patch) | |
tree | a079c23b8aa69352b97ea11277ab651d49e573b7 /subcmds/sync.py | |
parent | 7b6ffed4ae3102b7c90592eeff8e28855cc25c11 (diff) | |
download | git-repo-6b8e9fc8db47a29dbb288cb2109a78e2518e616a.tar.gz |
sync: clarify job flags when using interleaved
--jobs-network and --jobs-checkout are ignored with --interleaved.
Bug: 421935613
Change-Id: Ib69413993c4f970b385bd09318972716e5ac3324
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/485021
Tested-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
Reviewed-by: Scott Lee <ddoman@google.com>
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index f0c398a3..e75a8154 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -411,7 +411,7 @@ later is required to fix a server side protocol bug. | |||
411 | type=int, | 411 | type=int, |
412 | metavar="JOBS", | 412 | metavar="JOBS", |
413 | help="number of network jobs to run in parallel (defaults to " | 413 | help="number of network jobs to run in parallel (defaults to " |
414 | "--jobs or 1)", | 414 | "--jobs or 1). Ignored when --interleaved is set", |
415 | ) | 415 | ) |
416 | p.add_option( | 416 | p.add_option( |
417 | "--jobs-checkout", | 417 | "--jobs-checkout", |
@@ -419,7 +419,8 @@ later is required to fix a server side protocol bug. | |||
419 | type=int, | 419 | type=int, |
420 | metavar="JOBS", | 420 | metavar="JOBS", |
421 | help="number of local checkout jobs to run in parallel (defaults " | 421 | help="number of local checkout jobs to run in parallel (defaults " |
422 | f"to --jobs or {DEFAULT_LOCAL_JOBS})", | 422 | f"to --jobs or {DEFAULT_LOCAL_JOBS}). Ignored when --interleaved " |
423 | "is set", | ||
423 | ) | 424 | ) |
424 | 425 | ||
425 | p.add_option( | 426 | p.add_option( |