summaryrefslogtreecommitdiffstats
path: root/src/main/distrib
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-03-31 11:45:21 -0400
committerJames Moger <james.moger@gitblit.com>2014-03-31 11:45:21 -0400
commitbeb021472d034617e1ce216aee38d918ae7f1a67 (patch)
tree24aa85d00fdad02934659e0a570bc3540b3a4108 /src/main/distrib
parent9cce439817e17616619c189ab0840af29edd36f4 (diff)
downloadgitblit-beb021472d034617e1ce216aee38d918ae7f1a67.tar.gz
gitblit-beb021472d034617e1ce216aee38d918ae7f1a67.zip
Configure Tickets close-on-push commit message regex (issue-404)
Diffstat (limited to 'src/main/distrib')
-rw-r--r--src/main/distrib/data/gitblit.properties7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/distrib/data/gitblit.properties b/src/main/distrib/data/gitblit.properties
index b819b381..3c605394 100644
--- a/src/main/distrib/data/gitblit.properties
+++ b/src/main/distrib/data/gitblit.properties
@@ -479,6 +479,13 @@ tickets.acceptNewPatchsets = true
# SINCE 1.4.0
tickets.requireApproval = false
+# The case-insensitive regular expression used to identify and close tickets on
+# push to the integration branch for commits that are NOT already referenced as
+# a patchset tip.
+#
+# SINCE 1.5.0
+tickets.closeOnPushCommitMessageRegex = (?:fixes|closes)[\\s-]+#?(\\d+)
+
# Specify the location of the Lucene Ticket index
#
# SINCE 1.4.0