summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNasser Grainawi <nasser@codeaurora.org>2018-05-04 12:53:29 -0600
committerNasser Grainawi <nasser@codeaurora.org>2018-05-09 14:58:18 -0600
commitda40341a3e6e2e45877426aaefb97b3f0735a776 (patch)
treedf0fbf8ce59f58160d72367d3baf64debdcdc2a6 /docs
parent8d4b106642d0725f7f649ca5f407b2f8791483ef (diff)
downloadgit-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.txt6
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
164this value. If this value is not set, projects will use `revision` 165this value. If this value is not set, projects will use `revision`
165by default instead. 166by default instead.
166 167
168Attribute `upstream`: Name of the Git ref in which a sha1
169can be found. Used when syncing a revision locked manifest in
170-c mode to avoid having to sync the entire ref space. Project elements
171not setting their own `upstream` will inherit this value.
172
167Attribute `sync-j`: Number of parallel jobs to use when synching. 173Attribute `sync-j`: Number of parallel jobs to use when synching.
168 174
169Attribute `sync-c`: Set to true to only sync the given Git 175Attribute `sync-c`: Set to true to only sync the given Git