summaryrefslogtreecommitdiffstats
path: root/docs/manifest-format.md
diff options
context:
space:
mode:
authorJack Neus <jackneus@google.com>2021-07-20 20:52:33 +0000
committerJack Neus <jackneus@google.com>2021-07-23 18:03:11 +0000
commit6ea0caea86f4c6b1f934b682a3aa7722e98a46f9 (patch)
treef54707aa6778f60078aef727210669f22f87de4e /docs/manifest-format.md
parent8e983bbc0f5f48aa38d0e1c5a37766ce121d28eb (diff)
downloadgit-repo-6ea0caea86f4c6b1f934b682a3aa7722e98a46f9.tar.gz
repo: properly handle remote annotations in manifest_xml
BUG=b:192664812 TEST=tests/ Change-Id: I1aa50260f4a00d3cebbd531141e1626825e70127 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/312643 Tested-by: Jack Neus <jackneus@google.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'docs/manifest-format.md')
-rw-r--r--docs/manifest-format.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md
index c3bfcff0..854e5e1b 100644
--- a/docs/manifest-format.md
+++ b/docs/manifest-format.md
@@ -36,7 +36,7 @@ following DTD:
36 36
37 <!ELEMENT notice (#PCDATA)> 37 <!ELEMENT notice (#PCDATA)>
38 38
39 <!ELEMENT remote EMPTY> 39 <!ELEMENT remote (annotation*)>
40 <!ATTLIST remote name ID #REQUIRED> 40 <!ATTLIST remote name ID #REQUIRED>
41 <!ATTLIST remote alias CDATA #IMPLIED> 41 <!ATTLIST remote alias CDATA #IMPLIED>
42 <!ATTLIST remote fetch CDATA #REQUIRED> 42 <!ATTLIST remote fetch CDATA #REQUIRED>
@@ -348,12 +348,12 @@ project. Same syntax as the corresponding element of `project`.
348### Element annotation 348### Element annotation
349 349
350Zero or more annotation elements may be specified as children of a 350Zero or more annotation elements may be specified as children of a
351project element. Each element describes a name-value pair that will be 351project or remote element. Each element describes a name-value pair.
352exported into each project's environment during a 'forall' command, 352For projects, this name-value pair will be exported into each project's
353prefixed with REPO__. In addition, there is an optional attribute 353environment during a 'forall' command, prefixed with `REPO__`. In addition,
354"keep" which accepts the case insensitive values "true" (default) or 354there is an optional attribute "keep" which accepts the case insensitive values
355"false". This attribute determines whether or not the annotation will 355"true" (default) or "false". This attribute determines whether or not the
356be kept when exported with the manifest subcommand. 356annotation will be kept when exported with the manifest subcommand.
357 357
358### Element copyfile 358### Element copyfile
359 359