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

Update default regex message to match regex.
This commit is contained in:
Marin Jankovski 2014-11-05 11:38:29 +01:00
commit 42a1d8083c

View file

@ -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