summaryrefslogtreecommitdiff
path: root/lib/gitlab/git/index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/git/index.rb')
-rw-r--r--lib/gitlab/git/index.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/git/index.rb b/lib/gitlab/git/index.rb
index 3d0000879f8..69a7a513281 100644
--- a/lib/gitlab/git/index.rb
+++ b/lib/gitlab/git/index.rb
@@ -10,9 +10,7 @@ module Gitlab
@raw_index = repository.rugged.index
end
- def read_tree(tree)
- raw_index.read_tree(tree)
- end
+ delegate :read_tree, to: :raw_index
def write_tree
raw_index.write_tree(repository.rugged)