From 33289bdbc59cfda9f99d3f13b027d0eeaaaef871 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Sun, 26 Feb 2012 19:33:26 +0530 Subject: [PATCH] (minor fixups related to virtual ref) --- doc/admin.mkd | 5 ++--- doc/virtual-refs.mkd | 2 +- t/standalone/gl-system-install | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/admin.mkd b/doc/admin.mkd index 1ed05e5..44d55b0 100644 --- a/doc/admin.mkd +++ b/doc/admin.mkd @@ -106,9 +106,8 @@ received from git. -> In addition, gitolite now contains the basic infrastructure to support -> multiple 'update' hooks without having to remember to chain them yourself. -> See `hooks/common/update.secondary.sample` for instructions. +> Also see the document on [virtual refs][vref] for a way to add additional +> checks that you might need. diff --git a/doc/virtual-refs.mkd b/doc/virtual-refs.mkd index 9cb8db2..17cd607 100644 --- a/doc/virtual-refs.mkd +++ b/doc/virtual-refs.mkd @@ -1,4 +1,4 @@ -# virtual refs +# F=vref virtual refs The traditional method of adding additional checks to gitolite was to use [hook chaining][hookchaining], which basically means you put your code in a new diff --git a/t/standalone/gl-system-install b/t/standalone/gl-system-install index 298d0ec..4175b47 100755 --- a/t/standalone/gl-system-install +++ b/t/standalone/gl-system-install @@ -131,7 +131,6 @@ sub static_checks { ok /\Q$hooks_dir/common/gitolite-hooked\E/ /\Q$hooks_dir/common/update\E/ - /\Q$hooks_dir/common/update.secondary.sample\E/ /\Q$hooks_dir/common/post-receive.mirrorpush\E/ /\Q$hooks_dir/common/gl-pre-git.hub-sample\E/ /\Q$hooks_dir/gitolite-admin/post-update\E/