summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2018-04-13 13:16:07 +0000
committerDouwe Maan <douwe@gitlab.com>2018-04-13 13:16:07 +0000
commit0c357db3a4c326f92638eeeeba7846fa491f785e (patch)
treebead472da97149eaf096b116ecf68b2e7d59b31e
parent0b422c476d433d1a4ca2077205d50136fcbe43ef (diff)
downloadgitlab-ce-0c357db3a4c326f92638eeeeba7846fa491f785e.tar.gz
Remove bogus '|' symbol
-rw-r--r--lib/gitlab/git/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index 986b3228b3e..11a421cb430 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -1470,7 +1470,7 @@ module Gitlab
return [] if empty? || safe_query.blank?
- args = %W(ls-tree --full-tree -r #{ref || root_ref} --name-status | #{safe_query})
+ args = %W(ls-tree -r --name-status --full-tree #{ref || root_ref} -- #{safe_query})
run_git(args).first.lines.map(&:strip)
end