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:
Diffstat (limited to 'lib/gitlab/git.rb')
-rw-r--r--lib/gitlab/git.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/git.rb b/lib/gitlab/git.rb
index 882bd57eb1d..4b9f2ababc8 100644
--- a/lib/gitlab/git.rb
+++ b/lib/gitlab/git.rb
@@ -47,11 +47,11 @@ module Gitlab
end
def tag_ref?(ref)
- ref =~ /^#{TAG_REF_PREFIX}.+/
+ ref =~ /^#{TAG_REF_PREFIX}.+/o
end
def branch_ref?(ref)
- ref =~ /^#{BRANCH_REF_PREFIX}.+/
+ ref =~ /^#{BRANCH_REF_PREFIX}.+/o
end
def blank_ref?(ref)