docs: Document support for child elements in extend-project

Clarify the existence and behavior of child elements when added to
extend-project.

Change-Id: Id9f270166c8498d4051495b9a1f68360f66e9143
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/553742
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: Jeffery Miller <jefferymiller@google.com>
Commit-Queue: Jeffery Miller <jefferymiller@google.com>
This commit is contained in:
Jeffery Miller
2026-02-18 14:50:46 -08:00
committed by LUCI
parent 1ee98667cc
commit 0f01cd24e9
+5
View File
@@ -398,6 +398,11 @@ attributes of an existing project without completely replacing the
existing project definition. This makes the local manifest more robust existing project definition. This makes the local manifest more robust
against changes to the original manifest. against changes to the original manifest.
The `extend-project` element can also contain `annotation`, `copyfile`, and
`linkfile` child elements. These are added to the project's definition. A
`copyfile` or `linkfile` with a `dest` that already exists in the project
will overwrite the original.
Attribute `path`: If specified, limit the change to projects checked out Attribute `path`: If specified, limit the change to projects checked out
at the specified path, rather than all projects with the given name. at the specified path, rather than all projects with the given name.