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/rugged_impl/tree.rb')
-rw-r--r--lib/gitlab/git/rugged_impl/tree.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/gitlab/git/rugged_impl/tree.rb b/lib/gitlab/git/rugged_impl/tree.rb
index 389c9d32ccb..5993c8888d3 100644
--- a/lib/gitlab/git/rugged_impl/tree.rb
+++ b/lib/gitlab/git/rugged_impl/tree.rb
@@ -14,9 +14,12 @@ module Gitlab
include Gitlab::Git::RuggedImpl::UseRugged
override :tree_entries
- def tree_entries(repository, sha, path, recursive)
+ def tree_entries(repository, sha, path, recursive, pagination_params = nil)
if use_rugged?(repository, :rugged_tree_entries)
- execute_rugged_call(:tree_entries_with_flat_path_from_rugged, repository, sha, path, recursive)
+ [
+ execute_rugged_call(:tree_entries_with_flat_path_from_rugged, repository, sha, path, recursive),
+ nil
+ ]
else
super
end