diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-08-21 20:15:20 +0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-08-21 20:15:20 +0300 |
commit | a16dc5cdf1969ee5041c7dd10631638bcc0cade2 (patch) | |
tree | d76a11d41e6ff2b1245df0748474a404828ed400 /app | |
parent | 89969d0a3299dc171c721d95e74e27613a5eb7d8 (diff) |
Ensure Rugged methods are called with a Rugged Commit
Diffstat (limited to 'app')
-rw-r--r-- | app/models/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 3b5d0e00c70..019c40bf0a5 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -763,7 +763,7 @@ class Repository index = Gitlab::Git::Index.new(raw_repository) if start_commit - index.read_tree(start_commit.raw_commit.tree) + index.read_tree(start_commit.rugged_commit.tree) parents = [start_commit.sha] else parents = [] |