diff options
author | Jack Neus <jackneus@google.com> | 2021-07-26 23:08:54 +0000 |
---|---|---|
committer | Jack Neus <jackneus@google.com> | 2021-09-28 15:40:46 +0000 |
commit | c474c9cba1a8fbe09c219cc588d9ed334d31cd1e (patch) | |
tree | 16cfecbac2dcd974c7971536bf2bda15d7296f66 /man/repo-gitc-init.1 | |
parent | 956f7363d100abe6c1f58b36d7aea59b9e41cd04 (diff) | |
download | git-repo-c474c9cba1a8fbe09c219cc588d9ed334d31cd1e.tar.gz |
repo: Add support for standalone manifests
Added --standalone_manifest to repo tool. If set, the
manifest is downloaded directly from the appropriate source
(currently, we only support GS) and used instead of creating
a manifest git checkout. The manifests.git repo is still created to
keep track of various config but is marked as being for a standalone
manifest so that the repo tool doesn't try to run networked git
commands in it.
BUG=b:192664812
TEST=existing tests (no coverage), manual runs
Change-Id: I84378cbc7f8e515eabeccdde9665efc8cd2a9d21
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/312942
Tested-by: Jack Neus <jackneus@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'man/repo-gitc-init.1')
-rw-r--r-- | man/repo-gitc-init.1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/man/repo-gitc-init.1 b/man/repo-gitc-init.1 index 1d1b23a8..9b61866e 100644 --- a/man/repo-gitc-init.1 +++ b/man/repo-gitc-init.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" "July 2021" "repo gitc-init" "Repo Manual" | 2 | .TH REPO "1" "September 2021" "repo gitc-init" "Repo Manual" |
3 | .SH NAME | 3 | .SH NAME |
4 | repo \- repo gitc-init - manual page for repo gitc-init | 4 | repo \- repo gitc-init - manual page for repo gitc-init |
5 | .SH SYNOPSIS | 5 | .SH SYNOPSIS |
@@ -31,6 +31,10 @@ manifest branch or revision (use HEAD for default) | |||
31 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml | 31 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml |
32 | initial manifest file | 32 | initial manifest file |
33 | .TP | 33 | .TP |
34 | \fB\-\-standalone\-manifest\fR | ||
35 | download the manifest as a static file rather then | ||
36 | create a git checkout of the manifest repo | ||
37 | .TP | ||
34 | \fB\-g\fR GROUP, \fB\-\-groups\fR=\fI\,GROUP\/\fR | 38 | \fB\-g\fR GROUP, \fB\-\-groups\fR=\fI\,GROUP\/\fR |
35 | restrict manifest projects to ones with specified | 39 | restrict manifest projects to ones with specified |
36 | group(s) [default|all|G1,G2,G3|G4,\-G5,\-G6] | 40 | group(s) [default|all|G1,G2,G3|G4,\-G5,\-G6] |