diff options
Diffstat (limited to 'docs/manifest-format.txt')
-rw-r--r-- | docs/manifest-format.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index a827f556..38868f10 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt | |||
@@ -32,6 +32,7 @@ following DTD: | |||
32 | 32 | ||
33 | <!ELEMENT remote (EMPTY)> | 33 | <!ELEMENT remote (EMPTY)> |
34 | <!ATTLIST remote name ID #REQUIRED> | 34 | <!ATTLIST remote name ID #REQUIRED> |
35 | <!ATTLIST remote alias CDATA #IMPLIED> | ||
35 | <!ATTLIST remote fetch CDATA #REQUIRED> | 36 | <!ATTLIST remote fetch CDATA #REQUIRED> |
36 | <!ATTLIST remote review CDATA #IMPLIED> | 37 | <!ATTLIST remote review CDATA #IMPLIED> |
37 | 38 | ||
@@ -89,6 +90,12 @@ name specified here is used as the remote name in each project's | |||
89 | .git/config, and is therefore automatically available to commands | 90 | .git/config, and is therefore automatically available to commands |
90 | like `git fetch`, `git remote`, `git pull` and `git push`. | 91 | like `git fetch`, `git remote`, `git pull` and `git push`. |
91 | 92 | ||
93 | Attribute `alias`: The alias, if specified, is used to override | ||
94 | `name` to be set as the remote name in each project's .git/config. | ||
95 | Its value can be duplicated while attribute `name` has to be unique | ||
96 | in the manifest file. This helps each project to be able to have | ||
97 | same remote name which actually points to different remote url. | ||
98 | |||
92 | Attribute `fetch`: The Git URL prefix for all projects which use | 99 | Attribute `fetch`: The Git URL prefix for all projects which use |
93 | this remote. Each project's name is appended to this prefix to | 100 | this remote. Each project's name is appended to this prefix to |
94 | form the actual URL used to clone the project. | 101 | form the actual URL used to clone the project. |