summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAnatol Pomazau <anatol@google.com>2012-04-20 14:41:59 -0700
committerAnatol Pomazau <anatol@google.com>2012-04-23 14:10:52 -0700
commit79770d269e319dee578beed682669703d4c764ba (patch)
tree23e733be2bf80454de9352225366b92ef5cc9139 /docs
parentc39864f5e12fa4a6d3f2cdb4921afc021406d106 (diff)
downloadgit-repo-79770d269e319dee578beed682669703d4c764ba.tar.gz
Add sync-c option to manifest
There are use-cases when fetching all branch is impractical and we really need to fetch only one branch/tag. e.g. there is a large project with binaries and every update of a binary file is put to a separate branch. The whole project history might be too large to allow users fetch it. Add 'sync-c' option to 'project' and 'default' tags to make it possible to configure 'sync-c' behavior at per-project and per-manifest level. Note that currently there is no possibility to revert boolean flag from command line. If 'sync-c' is set in manifest then you cannot make full fetch by providing a repo tool argument. Change-Id: Ie36fe5737304930493740370239403986590f593
Diffstat (limited to 'docs')
-rw-r--r--docs/manifest-format.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt
index 764e41eb..53789651 100644
--- a/docs/manifest-format.txt
+++ b/docs/manifest-format.txt
@@ -39,6 +39,7 @@ following DTD:
39 <!ATTLIST default remote IDREF #IMPLIED> 39 <!ATTLIST default remote IDREF #IMPLIED>
40 <!ATTLIST default revision CDATA #IMPLIED> 40 <!ATTLIST default revision CDATA #IMPLIED>
41 <!ATTLIST default sync-j CDATA #IMPLIED> 41 <!ATTLIST default sync-j CDATA #IMPLIED>
42 <!ATTLIST default sync-c CDATA #IMPLIED>
42 43
43 <!ELEMENT manifest-server (EMPTY)> 44 <!ELEMENT manifest-server (EMPTY)>
44 <!ATTLIST url CDATA #REQUIRED> 45 <!ATTLIST url CDATA #REQUIRED>
@@ -49,6 +50,7 @@ following DTD:
49 <!ATTLIST project remote IDREF #IMPLIED> 50 <!ATTLIST project remote IDREF #IMPLIED>
50 <!ATTLIST project revision CDATA #IMPLIED> 51 <!ATTLIST project revision CDATA #IMPLIED>
51 <!ATTLIST project groups CDATA #IMPLIED> 52 <!ATTLIST project groups CDATA #IMPLIED>
53 <!ATTLIST project sync-c CDATA #IMPLIED>
52 54
53 <!ELEMENT annotation (EMPTY)> 55 <!ELEMENT annotation (EMPTY)>
54 <!ATTLIST annotation name CDATA #REQUIRED> 56 <!ATTLIST annotation name CDATA #REQUIRED>