Improve code according to new gitlab_git

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets
2014-02-04 14:46:15 +02:00
parent bacfad1c65
commit 97a4d8aea4
6 changed files with 43 additions and 15 deletions

View File

@ -117,7 +117,7 @@ module ExtractsPath
end
def tree
@tree ||= Tree.new(@repo, @commit.id, @path)
@tree ||= @repo.tree(@commit.id, @path)
end
private