From 380afada1de5b97284704163638aafea5f0f0b0d Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Thu, 10 May 2012 09:16:14 -0400
Subject: [PATCH] Changed constants and fixed nullpointer in update repository

---
 distrib/gitblit.properties |   27 ++++++++++++++++-----------
 1 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties
index e04f2c8..6353696 100644
--- a/distrib/gitblit.properties
+++ b/distrib/gitblit.properties
@@ -91,6 +91,21 @@
 # SINCE 0.8.0
 groovy.postReceiveScripts =
 
+# Repository custom fields for Groovy Hook mechanism
+#
+# List of key=label pairs of custom fields to prompt for in the Edit Repository
+# page.  These keys are stored in the repository's git config file in the 
+# section [gitblit "customFields"].  Key names are alphanumeric only.  These
+# fields are intended to be used for the Groovy hook mechanism where a script
+# can adjust it's execution based on the custom fields stored in the repository
+# config.
+#
+# e.g. "commitMsgRegex=Commit Message Regular Expression" anotherProperty=Another
+#
+# SPACE-DELIMITED
+# SINCE 1.0.0
+groovy.customFields = 
+
 #
 # Authentication Settings
 #
@@ -815,14 +830,4 @@
 #
 # SINCE 0.5.0
 # RESTART REQUIRED
-server.shutdownPort = 8081
-
-# Custom Defined Properties for Repositories
-# Space delimited (use quotes if labels have spaces) list of custom properties
-# to show up on the "Edit Repository" page, with labels.  Thes custom properties will
-# then be available for hooks.
-#
-# E.g. "commit-msg-regex=Commit Message Regualar Expression" another-property=Another
-#
-# SINCE 1.0.0
-repository.customFields = 
\ No newline at end of file
+server.shutdownPort = 8081
\ No newline at end of file

--
Gitblit v1.9.1