Commit 42a1d808 authored by Marin Jankovski's avatar Marin Jankovski

Merge pull request #7516 from cirosantilli/update-regex-msg

Update default regex message to match regex.
parents 5c6b21f1 6bae8c48
......@@ -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