summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/gitlab.yml.example7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 0b1560ac587..69eb4ca642d 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -56,9 +56,10 @@ production: &base
# signup_enabled: true
## Automatic issue closing
- # If a commit message matches this regular express, all issues referenced from the matched text will be closed
- # if it's pushed to a project's default branch.
- # issue_closing_pattern: ^([Cc]loses|[Ff]ixes) +#\d+
+ # If a commit message matches this regular express, all issues referenced from the matched text will be closed.
+ # This happends when the commit is pushed or merged into the default branch of a project.
+ # When not specified the default issue_closing_pattern as specified below will be used.
+ # issue_closing_pattern: ([Cc]loses|[Ff]ixes) +#\d+
## Default project features settings
default_projects_features: