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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-02-10 03:15:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-02-10 03:15:43 +0300
commitdd28adcbf0a6eea094968826799a24bbaac12262 (patch)
tree888829c0baea614dcf50d31d9887ee9e35836012 /lib/gitlab/path_regex.rb
parent2744f5f9d735d892fad519329ba61544455e5279 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/path_regex.rb')
-rw-r--r--lib/gitlab/path_regex.rb2
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)