From 9371979628a945a1caf526aeff84a1ac68a22efe Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Tue, 17 Mar 2015 11:29:58 -0700 Subject: Revert "Implementation of manifest defined githooks" 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 --- docs/manifest-format.txt | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'docs') 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: - + @@ -73,10 +73,6 @@ following DTD: - - - - @@ -310,15 +306,6 @@ target manifest to include - it must be a usable manifest on its own. Attribute `name`: the manifest to include, specified relative to the manifest repository's root. -Element projecthook -------------------- - -This element is used to define a per-remote hook git that is -fetched and applied to all projects using the remote. The project- -hook functionality allows for company/team .git/hooks to be used. -The hooks in the supplied project and revision are supplemented to -the current repo stock hooks for each project. Supplemented hooks -overrule any stock hooks. Local Manifests =============== -- cgit v1.2.3-54-g00ecf