Commit 564b0eb0 authored by Douwe Maan's avatar Douwe Maan

Fix new offenses

parent 5bbd09ca
...@@ -10,9 +10,7 @@ module Gitlab ...@@ -10,9 +10,7 @@ module Gitlab
@raw_index = repository.rugged.index @raw_index = repository.rugged.index
end end
def read_tree(tree) delegate :read_tree, to: :raw_index
raw_index.read_tree(tree)
end
def write_tree def write_tree
raw_index.write_tree(repository.rugged) raw_index.write_tree(repository.rugged)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment