From ae9e157ef4e6a3708489725d4436cc15d273308f Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 07 Jun 2012 17:30:18 -0400 Subject: [PATCH] Try multiple encodings when working with string blobs (issue 97) --- docs/01_setup.mkd | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/docs/01_setup.mkd b/docs/01_setup.mkd index 68c1025..c8cd09d 100644 --- a/docs/01_setup.mkd +++ b/docs/01_setup.mkd @@ -398,6 +398,16 @@ Hook contributions and improvements are welcome. +### Custom Fields + +*SINCE 1.0.0* + +Gitblit allows custom repository string fields to be defined in `gitblit.properties` or `web.xml`. Entry textfields are automatically created for these fields in the Edit Repository page of Gitblit and the Edit Repository dialog of the Gitblit Manager. These fields are accessible from your Groovy hook scripts as + + repository.customFields.myField + +This feature allows you to customize the behavior of your hook scripts without hard-coding values in the hook scripts themselves. + ### Pre-Receive Pre-Receive scripts execute after the pushed objects have all been written to the Git repository but before the refs have been updated to point to these new objects. -- Gitblit v1.9.1