summaryrefslogtreecommitdiffstats
path: root/distrib/gitblit.properties
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-05-10 09:16:14 -0400
committerJames Moger <james.moger@gitblit.com>2012-05-10 09:16:14 -0400
commit380afada1de5b97284704163638aafea5f0f0b0d (patch)
tree3ba35afedce1cb238a70eb297cfef8c3ebdebf75 /distrib/gitblit.properties
parent5f227250b8661cb46967f40673374953c8e495e9 (diff)
downloadgitblit-380afada1de5b97284704163638aafea5f0f0b0d.tar.gz
gitblit-380afada1de5b97284704163638aafea5f0f0b0d.zip
Changed constants and fixed nullpointer in update repository
Diffstat (limited to 'distrib/gitblit.properties')
-rw-r--r--distrib/gitblit.properties27
1 files changed, 16 insertions, 11 deletions
diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties
index e04f2c8f..6353696e 100644
--- a/distrib/gitblit.properties
+++ b/distrib/gitblit.properties
@@ -91,6 +91,21 @@ groovy.preReceiveScripts =
# 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 @@ server.storePassword = gitblit
#
# 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