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 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index b21df6baf0e..1321c9da780 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -838,7 +838,7 @@ class Repository
files = ls_files(options[:branch_name])
options[:actions] = files.each_with_object([]) do |item, list|
- next unless item =~ regex
+ next unless regex.match?(item)
list.push(
action: :move,