Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-08-21 20:15:20 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-08-21 20:15:20 +0300
commita16dc5cdf1969ee5041c7dd10631638bcc0cade2 (patch)
treed76a11d41e6ff2b1245df0748474a404828ed400 /app
parent89969d0a3299dc171c721d95e74e27613a5eb7d8 (diff)
Ensure Rugged methods are called with a Rugged Commit
Diffstat (limited to 'app')
-rw-r--r--app/models/repository.rb2
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 = []