Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-08-16 13:53:44 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-01 15:19:40 +0400
commit6bae8c48ef83cf45984930c57282903cbff506ad (patch)
tree4032a82c90ba54e916cda873588af56473835aa7 /lib/gitlab/regex.rb
parent88d3e97e502f0be4f01fed100a06e04b2e0f2017 (diff)
Update default regex message to match regex.
Diffstat (limited to 'lib/gitlab/regex.rb')
-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