diff options
author | Gavin Mak <gavinmak@google.com> | 2025-06-11 00:13:52 +0000 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2025-06-11 16:31:35 -0700 |
commit | 85352825ff3903fe17bad05476284930dbf12fd8 (patch) | |
tree | 2970349ed8189906e4f62abde19df57c7b61114b /man/repo-sync.1 | |
parent | b262d0e4619c406a2708856ed312091d21c5bf39 (diff) | |
download | git-repo-85352825ff3903fe17bad05476284930dbf12fd8.tar.gz |
sync: Add scaffolding for interleaved syncmain
Prepare for an interleaved fetch and checkout mode for `repo sync`. The
goal of the new mode is to significantly speed up syncs by running fetch
and checkout operations in parallel for different projects, rather than
waiting for all fetches to complete before starting any checkouts.
Bug: 421935613
Change-Id: I8c66d1e790c7bba6280e409b95238c5e4e61a9c8
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/482821
Reviewed-by: Scott Lee <ddoman@google.com>
Commit-Queue: Gavin Mak <gavinmak@google.com>
Tested-by: Gavin Mak <gavinmak@google.com>
Diffstat (limited to 'man/repo-sync.1')
-rw-r--r-- | man/repo-sync.1 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/man/repo-sync.1 b/man/repo-sync.1 index 3ce9ec69..afaee2af 100644 --- a/man/repo-sync.1 +++ b/man/repo-sync.1 | |||
@@ -1,5 +1,5 @@ | |||
1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. |
2 | .TH REPO "1" "September 2024" "repo sync" "Repo Manual" | 2 | .TH REPO "1" "June 2025" "repo sync" "Repo Manual" |
3 | .SH NAME | 3 | .SH NAME |
4 | repo \- repo sync - manual page for repo sync | 4 | repo \- repo sync - manual page for repo sync |
5 | .SH SYNOPSIS | 5 | .SH SYNOPSIS |
@@ -58,6 +58,9 @@ only update working tree, don't fetch | |||
58 | use the existing manifest checkout as\-is. (do not | 58 | use the existing manifest checkout as\-is. (do not |
59 | update to the latest revision) | 59 | update to the latest revision) |
60 | .TP | 60 | .TP |
61 | \fB\-\-interleaved\fR | ||
62 | fetch and checkout projects in parallel (experimental) | ||
63 | .TP | ||
61 | \fB\-n\fR, \fB\-\-network\-only\fR | 64 | \fB\-n\fR, \fB\-\-network\-only\fR |
62 | fetch only, don't update working tree | 65 | fetch only, don't update working tree |
63 | .TP | 66 | .TP |