diff options
| author | Marin Jankovski <maxlazio@gmail.com> | 2014-11-05 11:38:29 +0100 |
|---|---|---|
| committer | Marin Jankovski <maxlazio@gmail.com> | 2014-11-05 11:38:29 +0100 |
| commit | 42a1d8083c77d3803320bbbd0ac1559ff32d2519 (patch) | |
| tree | f6e33e81497d8573ac57ca3dfd694db8e6203f0f /lib | |
| parent | 5c6b21f1c23e9bb7bf527797799acf60e272bbca (diff) | |
| parent | 6bae8c48ef83cf45984930c57282903cbff506ad (diff) | |
| download | gitlab-ce-42a1d8083c77d3803320bbbd0ac1559ff32d2519.tar.gz | |
Merge pull request #7516 from cirosantilli/update-regex-msg
Update default regex message to match regex.
Diffstat (limited to 'lib')
| -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 |
