diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-02 21:30:36 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-02 21:30:36 +0300 |
| commit | 5f4445c3d384741c45242f077b3c0dbf76234ee8 (patch) | |
| tree | 21962b2905103f2b3a585bda0ba6e60a669cb190 /app/controllers | |
| parent | 7af16bbb0fdce36cf8b7e43e5cd64a712dfdaa1d (diff) | |
| download | gitlab-ce-5f4445c3d384741c45242f077b3c0dbf76234ee8.tar.gz | |
store commits for MR as array of hashes
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/refs_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/refs_controller.rb b/app/controllers/refs_controller.rb index eb8d1e19616..c67912b97a6 100644 --- a/app/controllers/refs_controller.rb +++ b/app/controllers/refs_controller.rb @@ -48,7 +48,7 @@ class RefsController < ProjectResourceController @repo = project.repository @commit = @repo.commit(@ref) - @tree = Tree.new(@commit.tree, @ref, params[:path]) + @tree = Tree.new(@repo, @commit.id, @ref, params[:path]) @hex_path = Digest::SHA1.hexdigest(params[:path] || "") if params[:path] |
