Commit 6bae8c48 authored by Ciro Santilli's avatar Ciro Santilli

Update default regex message to match regex.

parent 88d3e97e
......@@ -67,8 +67,7 @@ module Gitlab
def default_regex_message
"can contain only letters, digits, '_', '-' and '.'. " \
"It must start with letter, digit or '_', optionally preceeded by '.'. " \
"It must not end in '.git'."
"Cannot start with '-' or end in '.git'" \
end
def default_regex
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment