summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJonathan Nieder <jrn@google.com>2015-03-17 11:29:58 -0700
committerJonathan Nieder <jrn@google.com>2015-03-17 11:29:58 -0700
commit9371979628a945a1caf526aeff84a1ac68a22efe (patch)
treedddfeb5a602f799f31a8d62ac5feb72fa2fb06ab /docs
parent20860042617d43ed192d60659cd92c71ea251519 (diff)
downloadgit-repo-9371979628a945a1caf526aeff84a1ac68a22efe.tar.gz
Revert "Implementation of manifest defined githooks"v1.12.20
This reverts commit 38e4387f8eb8cffd6359d726c38a7c524fef07e3. A "repo init" followed by "repo sync" is meant to be as safe as "git clone". In particular it should not run arbitrary code provided by the manifest owner. It would still be nice to have support for manifest-defined git hooks --- they'd just need a prompt like the upload RepoHook has. Hopefully a later change can bring them back. Change-Id: I5ecd90fb5c2ed64f103d856d1ffcba38a47b062d Signed-off-by: Jonathan Nieder <jrn@google.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manifest-format.txt15
1 files changed, 1 insertions, 14 deletions
diff --git a/docs/manifest-format.txt b/docs/manifest-format.txt
index 4b979c79..1aa93965 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 (projecthook?)> 34 <!ELEMENT remote (EMPTY)>
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,10 +73,6 @@ 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
80 <!ELEMENT remove-project (EMPTY)> 76 <!ELEMENT remove-project (EMPTY)>
81 <!ATTLIST remove-project name CDATA #REQUIRED> 77 <!ATTLIST remove-project name CDATA #REQUIRED>
82 78
@@ -310,15 +306,6 @@ target manifest to include - it must be a usable manifest on its own.
310Attribute `name`: the manifest to include, specified relative to 306Attribute `name`: the manifest to include, specified relative to
311the manifest repository's root. 307the manifest repository's root.
312 308
313Element projecthook
314-------------------
315
316This element is used to define a per-remote hook git that is
317fetched and applied to all projects using the remote. The project-
318hook functionality allows for company/team .git/hooks to be used.
319The hooks in the supplied project and revision are supplemented to
320the current repo stock hooks for each project. Supplemented hooks
321overrule any stock hooks.
322 309
323Local Manifests 310Local Manifests
324=============== 311===============