manifest: add submanifest.default_groups attribute
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
Reviewed-by: Mike Frysinger
diff --git a/docs/manifest-format.md b/docs/manifest-format.md
index 6e67108..0d26296 100644
--- a/docs/manifest-format.md
+++ b/docs/manifest-format.md
@@ -66,6 +66,7 @@
+
project*,
@@ -302,6 +303,9 @@
all projects in submanifests carry all parent submanifest groups.
Same syntax as the corresponding element of `project`.
+Attribute `default-groups`: The list of manifest groups to sync if no
+`--groups=` parameter was specified at init. When that list is empty, use this
+list instead of "default" as the list of groups to sync.
### Element project