diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-10 03:15:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-10 03:15:43 +0300 |
commit | dd28adcbf0a6eea094968826799a24bbaac12262 (patch) | |
tree | 888829c0baea614dcf50d31d9887ee9e35836012 /lib/gitlab/path_regex.rb | |
parent | 2744f5f9d735d892fad519329ba61544455e5279 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/path_regex.rb')
-rw-r--r-- | lib/gitlab/path_regex.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/path_regex.rb b/lib/gitlab/path_regex.rb index 06a26c4830f..172dcd41c07 100644 --- a/lib/gitlab/path_regex.rb +++ b/lib/gitlab/path_regex.rb @@ -234,7 +234,7 @@ module Gitlab @git_reference_regex ||= single_line_regexp %r{ (?! (?# doesn't begins with) - \/| (?# rule #6) + \/|-| (?# rule #6) (?# doesn't contain) .*(?: [\/.]\.| (?# rule #1,3) |