diff options
author | Conley Owens <cco3@android.com> | 2015-03-05 20:52:29 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-05 20:52:30 +0000 |
commit | 85e82670315cc2a6ac020430ae3f7e46862ff5d9 (patch) | |
tree | e1cec59a11dafef7dfc301651a5fe0fe5b721ef1 /docs | |
parent | e30f46b957c9c192f09a4907e3e7e802c9b782f8 (diff) | |
parent | 38e4387f8eb8cffd6359d726c38a7c524fef07e3 (diff) | |
download | git-repo-85e82670315cc2a6ac020430ae3f7e46862ff5d9.tar.gz |
Merge "Implementation of manifest defined githooks"
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manifest-format.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt index 1aa93965..4b979c79 100644 --- a/docs/manifest-format.txt +++ b/docs/manifest-format.txt | |||
@@ -31,7 +31,7 @@ following DTD: | |||
31 | 31 | ||
32 | <!ELEMENT notice (#PCDATA)> | 32 | <!ELEMENT notice (#PCDATA)> |
33 | 33 | ||
34 | <!ELEMENT remote (EMPTY)> | 34 | <!ELEMENT remote (projecthook?)> |
35 | <!ATTLIST remote name ID #REQUIRED> | 35 | <!ATTLIST remote name ID #REQUIRED> |
36 | <!ATTLIST remote alias CDATA #IMPLIED> | 36 | <!ATTLIST remote alias CDATA #IMPLIED> |
37 | <!ATTLIST remote fetch CDATA #REQUIRED> | 37 | <!ATTLIST remote fetch CDATA #REQUIRED> |
@@ -73,6 +73,10 @@ following DTD: | |||
73 | <!ATTLIST extend-project path CDATA #IMPLIED> | 73 | <!ATTLIST extend-project path CDATA #IMPLIED> |
74 | <!ATTLIST extend-project groups CDATA #IMPLIED> | 74 | <!ATTLIST extend-project groups CDATA #IMPLIED> |
75 | 75 | ||
76 | <!ELEMENT projecthook (EMPTY)> | ||
77 | <!ATTLIST projecthook name CDATA #REQUIRED> | ||
78 | <!ATTLIST projecthook revision CDATA #REQUIRED> | ||
79 | |||
76 | <!ELEMENT remove-project (EMPTY)> | 80 | <!ELEMENT remove-project (EMPTY)> |
77 | <!ATTLIST remove-project name CDATA #REQUIRED> | 81 | <!ATTLIST remove-project name CDATA #REQUIRED> |
78 | 82 | ||
@@ -306,6 +310,15 @@ target manifest to include - it must be a usable manifest on its own. | |||
306 | Attribute `name`: the manifest to include, specified relative to | 310 | Attribute `name`: the manifest to include, specified relative to |
307 | the manifest repository's root. | 311 | the manifest repository's root. |
308 | 312 | ||
313 | Element projecthook | ||
314 | ------------------- | ||
315 | |||
316 | This element is used to define a per-remote hook git that is | ||
317 | fetched and applied to all projects using the remote. The project- | ||
318 | hook functionality allows for company/team .git/hooks to be used. | ||
319 | The hooks in the supplied project and revision are supplemented to | ||
320 | the current repo stock hooks for each project. Supplemented hooks | ||
321 | overrule any stock hooks. | ||
309 | 322 | ||
310 | Local Manifests | 323 | Local Manifests |
311 | =============== | 324 | =============== |