diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-02-04 14:46:15 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-02-04 14:46:15 +0200 |
commit | 97a4d8aea46fb45894f6e47597320ed2f6a12495 (patch) | |
tree | 22303017b20c8caac6ea9aa4a946b1dc96916a65 /lib/extracts_path.rb | |
parent | bacfad1c651d7b880a07f5f417ccb64693150935 (diff) | |
download | gitlab-ce-97a4d8aea46fb45894f6e47597320ed2f6a12495.tar.gz |
Improve code according to new gitlab_git
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/extracts_path.rb')
-rw-r--r-- | lib/extracts_path.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extracts_path.rb b/lib/extracts_path.rb index 6e7872dcd03..e51cb30bdd9 100644 --- a/lib/extracts_path.rb +++ b/lib/extracts_path.rb @@ -117,7 +117,7 @@ module ExtractsPath end def tree - @tree ||= Tree.new(@repo, @commit.id, @path) + @tree ||= @repo.tree(@commit.id, @path) end private |