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:
authorAndrew McCallum <andrew.mccallum@semafone.com>2018-01-15 14:10:35 +0300
committerAndrew McCallum <andrew.mccallum@semafone.com>2018-01-15 14:10:35 +0300
commitae106913d03215dac1e73e4a5897e3cf7547ce84 (patch)
tree99cb27fb0b224fb2e0d97a2a008fc6b90c03596e /app/models
parent373a9b13e7d0b5ed7126aa1427a7a515b47bdff3 (diff)
Add space after comma per layout guidelines.
Diffstat (limited to 'app/models')
-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 ab46872393b..a65a2b8427d 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -940,7 +940,7 @@ class Repository
def search_files_by_name(query, ref)
return [] if empty? || query.blank?
- args = %W(ls-tree --full-tree -r #{ref || root_ref} --name-status | #{Regexp.escape(query.sub(/^\/*/,""))})
+ args = %W(ls-tree --full-tree -r #{ref || root_ref} --name-status | #{Regexp.escape(query.sub(/^\/*/, ""))})
run_git(args).first.lines.map(&:strip)
end