summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-08-16 11:53:44 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-01 13:19:40 +0200
commit6bae8c48ef83cf45984930c57282903cbff506ad (patch)
tree4032a82c90ba54e916cda873588af56473835aa7 /lib
parent88d3e97e502f0be4f01fed100a06e04b2e0f2017 (diff)
downloadgitlab-ce-6bae8c48ef83cf45984930c57282903cbff506ad.tar.gz
Update default regex message to match regex.
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/regex.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/regex.rb b/lib/gitlab/regex.rb
index 4b8038843b0..c4d0d85b7f5 100644
--- a/lib/gitlab/regex.rb
+++ b/lib/gitlab/regex.rb
@@ -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