diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-08-16 13:53:44 +0400 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-01 15:19:40 +0400 |
commit | 6bae8c48ef83cf45984930c57282903cbff506ad (patch) | |
tree | 4032a82c90ba54e916cda873588af56473835aa7 /lib/gitlab/regex.rb | |
parent | 88d3e97e502f0be4f01fed100a06e04b2e0f2017 (diff) |
Update default regex message to match regex.
Diffstat (limited to 'lib/gitlab/regex.rb')
-rw-r--r-- | lib/gitlab/regex.rb | 3 |
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 |