diff options
author | Nasser Grainawi <nasser@codeaurora.org> | 2018-05-04 12:53:29 -0600 |
---|---|---|
committer | Nasser Grainawi <nasser@codeaurora.org> | 2018-05-09 14:58:18 -0600 |
commit | da40341a3e6e2e45877426aaefb97b3f0735a776 (patch) | |
tree | df0fbf8ce59f58160d72367d3baf64debdcdc2a6 /docs | |
parent | 8d4b106642d0725f7f649ca5f407b2f8791483ef (diff) | |
download | git-repo-da40341a3e6e2e45877426aaefb97b3f0735a776.tar.gz |
manifest: Support a default upstream value
It's convenient to set upstream for all projects in a manifest instead of
repeating the same value for each project.
Change-Id: I946b1de4efb01b351c332dfad108fa7d4f443cba
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manifest-format.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index 56bdf142..0c957dd5 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt | |||
@@ -44,6 +44,7 @@ following DTD: | |||
44 | <!ATTLIST default remote IDREF #IMPLIED> | 44 | <!ATTLIST default remote IDREF #IMPLIED> |
45 | <!ATTLIST default revision CDATA #IMPLIED> | 45 | <!ATTLIST default revision CDATA #IMPLIED> |
46 | <!ATTLIST default dest-branch CDATA #IMPLIED> | 46 | <!ATTLIST default dest-branch CDATA #IMPLIED> |
47 | <!ATTLIST default upstream CDATA #IMPLIED> | ||
47 | <!ATTLIST default sync-j CDATA #IMPLIED> | 48 | <!ATTLIST default sync-j CDATA #IMPLIED> |
48 | <!ATTLIST default sync-c CDATA #IMPLIED> | 49 | <!ATTLIST default sync-c CDATA #IMPLIED> |
49 | <!ATTLIST default sync-s CDATA #IMPLIED> | 50 | <!ATTLIST default sync-s CDATA #IMPLIED> |
@@ -164,6 +165,11 @@ Project elements not setting their own `dest-branch` will inherit | |||
164 | this value. If this value is not set, projects will use `revision` | 165 | this value. If this value is not set, projects will use `revision` |
165 | by default instead. | 166 | by default instead. |
166 | 167 | ||
168 | Attribute `upstream`: Name of the Git ref in which a sha1 | ||
169 | can be found. Used when syncing a revision locked manifest in | ||
170 | -c mode to avoid having to sync the entire ref space. Project elements | ||
171 | not setting their own `upstream` will inherit this value. | ||
172 | |||
167 | Attribute `sync-j`: Number of parallel jobs to use when synching. | 173 | Attribute `sync-j`: Number of parallel jobs to use when synching. |
168 | 174 | ||
169 | Attribute `sync-c`: Set to true to only sync the given Git | 175 | Attribute `sync-c`: Set to true to only sync the given Git |