diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-02-01 12:41:52 +0300 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-02-01 12:41:52 +0300 |
commit | 64c8ee47c96d9245081abdf1b9d4ec39cdfc5883 (patch) | |
tree | e5eebf2bfef186c7caa6d9b91fae18798657bfaf /app/models/tree.rb | |
parent | 481644ca7c9f763d4646ad557cc3bcf8f4f71816 (diff) |
WIP lazy blobs
Diffstat (limited to 'app/models/tree.rb')
-rw-r--r-- | app/models/tree.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/tree.rb b/app/models/tree.rb index e0e04d8859f..ecee54c3e0a 100644 --- a/app/models/tree.rb +++ b/app/models/tree.rb @@ -31,6 +31,8 @@ class Tree git_repo = repository.raw_repository @readme = Gitlab::Git::Blob.find(git_repo, sha, readme_path) + @readme.load_all_data!(git_repo) + @readme end def trees |