summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKyunam Jo <kyunam.jo@gmail.com>2020-02-04 11:38:53 +0900
committerMike Frysinger <vapier@google.com>2020-02-04 22:42:28 +0000
commitbd0aae95f56d46cef665e11f2ee88581b88fcfce (patch)
treed071eff6faaf750ee88fa95804945d6b9bffe145 /docs
parente6a202f790daaf204513b8c53b824fcc246f9972 (diff)
downloadgit-repo-bd0aae95f56d46cef665e11f2ee88581b88fcfce.tar.gz
Add a way to override the remote using <extend-project>
This commit supports for the 'remote' attribute in <extend-project>. This avoids the need to perform a <remove-project> followed by a <project> in local manifests. Change-Id: I9f9347913337ec9d159bc264d15ce97881ae5398 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253092 Tested-by: Kyunam Jo <kyunam.jo@gmail.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manifest-format.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md
index a39f97e8..b439dcb7 100644
--- a/docs/manifest-format.md
+++ b/docs/manifest-format.md
@@ -89,6 +89,7 @@ following DTD:
89 <!ATTLIST extend-project path CDATA #IMPLIED> 89 <!ATTLIST extend-project path CDATA #IMPLIED>
90 <!ATTLIST extend-project groups CDATA #IMPLIED> 90 <!ATTLIST extend-project groups CDATA #IMPLIED>
91 <!ATTLIST extend-project revision CDATA #IMPLIED> 91 <!ATTLIST extend-project revision CDATA #IMPLIED>
92 <!ATTLIST extend-project remote CDATA #IMPLIED>
92 93
93 <!ELEMENT remove-project EMPTY> 94 <!ELEMENT remove-project EMPTY>
94 <!ATTLIST remove-project name CDATA #REQUIRED> 95 <!ATTLIST remove-project name CDATA #REQUIRED>
@@ -306,6 +307,9 @@ belongs. Same syntax as the corresponding element of `project`.
306Attribute `revision`: If specified, overrides the revision of the original 307Attribute `revision`: If specified, overrides the revision of the original
307project. Same syntax as the corresponding element of `project`. 308project. Same syntax as the corresponding element of `project`.
308 309
310Attribute `remote`: If specified, overrides the remote of the original
311project. Same syntax as the corresponding element of `project`.
312
309### Element annotation 313### Element annotation
310 314
311Zero or more annotation elements may be specified as children of a 315Zero or more annotation elements may be specified as children of a