diff options
author | LaMont Jones <lamontjones@google.com> | 2022-04-20 16:42:32 +0000 |
---|---|---|
committer | LaMont Jones <lamontjones@google.com> | 2022-04-29 18:42:23 +0000 |
commit | 501733c2abb1180679f25b2f78970d73a2f8d413 (patch) | |
tree | 61c04bb534130591e21a55abe1971ff9574c2938 /docs/manifest-format.md | |
parent | 0165e20fcc4533ae0dc48531cfa9cbf3662cc999 (diff) | |
download | git-repo-501733c2abb1180679f25b2f78970d73a2f8d413.tar.gz |
manifest: add submanifest.default_groups attributev2.25
When the user does not specify any manifest groups, this allows the
parent manifest to indicate which manifest groups should be used for
syncing the submanifest.
Change-Id: I88806ed35013d13dd2ab3cd245fcd4f9061112c4
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/335474
Tested-by: LaMont Jones <lamontjones@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'docs/manifest-format.md')
-rw-r--r-- | docs/manifest-format.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md index 6e671080..0d26296d 100644 --- a/docs/manifest-format.md +++ b/docs/manifest-format.md | |||
@@ -66,6 +66,7 @@ following DTD: | |||
66 | <!ATTLIST submanifest revision CDATA #IMPLIED> | 66 | <!ATTLIST submanifest revision CDATA #IMPLIED> |
67 | <!ATTLIST submanifest path CDATA #IMPLIED> | 67 | <!ATTLIST submanifest path CDATA #IMPLIED> |
68 | <!ATTLIST submanifest groups CDATA #IMPLIED> | 68 | <!ATTLIST submanifest groups CDATA #IMPLIED> |
69 | <!ATTLIST submanifest default-groups CDATA #IMPLIED> | ||
69 | 70 | ||
70 | <!ELEMENT project (annotation*, | 71 | <!ELEMENT project (annotation*, |
71 | project*, | 72 | project*, |
@@ -302,6 +303,9 @@ in the included submanifest belong. This appends and recurses, meaning | |||
302 | all projects in submanifests carry all parent submanifest groups. | 303 | all projects in submanifests carry all parent submanifest groups. |
303 | Same syntax as the corresponding element of `project`. | 304 | Same syntax as the corresponding element of `project`. |
304 | 305 | ||
306 | Attribute `default-groups`: The list of manifest groups to sync if no | ||
307 | `--groups=` parameter was specified at init. When that list is empty, use this | ||
308 | list instead of "default" as the list of groups to sync. | ||
305 | 309 | ||
306 | ### Element project | 310 | ### Element project |
307 | 311 | ||