From beb021472d034617e1ce216aee38d918ae7f1a67 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 31 Mar 2014 11:45:21 -0400 Subject: [PATCH] Configure Tickets close-on-push commit message regex (issue-404) --- src/main/distrib/data/gitblit.properties | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/distrib/data/gitblit.properties b/src/main/distrib/data/gitblit.properties index b819b38..3c60539 100644 --- a/src/main/distrib/data/gitblit.properties +++ b/src/main/distrib/data/gitblit.properties @@ -479,6 +479,13 @@ # 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 -- Gitblit v1.9.1