git_superproject: don't filter rewritten manifest

When creating the superproject manifest, take all groups
from the original manifest, including notdefault.

Using the ManifestGroupsStr will inadvertantly filter out
notdefault projects from the superproject manifest.

Change-Id: If3daf41e9a6572348de9182fe8679b90d3cec833
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/610021
Commit-Queue: Andrew Chant <achant@google.com>
Tested-by: Andrew Chant <achant@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
This commit is contained in:
Andrew Chant authored and gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com committed 2026-07-21 13:42:30 -07:00
1 parent dd1130352b
commit 06c4f9e1cc
1 file changed
+1 -1
+1 -1
View File
@@ -473,7 +473,7 @@ class Superproject:
)
return None
manifest_str = self._manifest.ToXml(
filter_groups=self._manifest.GetManifestGroupsStr(),
filter_groups="all",
omit_local=True,
).toxml()
manifest_path = self._manifest_path