From 7c08c78b0f80609f3ea911b8a3eeb598f99c0fd2 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 03 Feb 2012 23:48:42 -0500 Subject: [PATCH] Show HEAD on metrics page if objectid is not specified --- docs/01_setup.mkd | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/01_setup.mkd b/docs/01_setup.mkd index 5a3336b..8b5702b 100644 --- a/docs/01_setup.mkd +++ b/docs/01_setup.mkd @@ -242,7 +242,7 @@ *SINCE 0.8.0* -The preferred hook mechanism is Groovy. This mechanism only executes when pushing to Gitblit, not when pushing to some other Git tooling in your stack. +Gitblit uses Groovy for its push hook mechanism. This mechanism only executes when pushing to Gitblit, not when pushing to some other Git tooling in your stack. The Groovy hook mechanism allows for dynamic extension of Gitblit to execute custom tasks on receiving and processing push events. The scripts run within the context of your Gitblit instance and therefore have access to Gitblit's internals at runtime. @@ -284,10 +284,11 @@ ### Enabling Push Notifications In order to send email notifications on a push to Gitblit, this script must be specified somewhere in the *post-receive* script chain. -You may specify *sendmail* in one of two places: +You may specify *sendmail* in one of three places: 1. *groovy.postReceiveScripts* in `gitblit.properties` or `web.xml`, globally applied to all repositories -2. post-receive scripts of a Repository definition +2. post-receive scripts of a Team definition +3. post-receive scripts of a Repository definition ### Destination Addresses -- Gitblit v1.9.1