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
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-12-15 12:02:24 +0300
committerDouwe Maan <douwe@gitlab.com>2017-12-15 12:02:24 +0300
commit1baea77438779e74657b49ca26810d6c8f041b41 (patch)
tree480634259d9a6d88351a842a4a49561001ec111c /app/controllers/projects
parentc96e2edc105a46c93bcbf6841c8ec52270d6a601 (diff)
parentcbd3ce8f41fc5691a1d23aca0ffe3221ab5d26af (diff)
Merge branch 'lfs-badge' into 'master'
Added LFS badge to indicate LFS tracked files Closes #15567 See merge request gitlab-org/gitlab-ce!15845
Diffstat (limited to 'app/controllers/projects')
-rw-r--r--app/controllers/projects/tree_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/tree_controller.rb b/app/controllers/projects/tree_controller.rb
index f3719059f88..f752a46f828 100644
--- a/app/controllers/projects/tree_controller.rb
+++ b/app/controllers/projects/tree_controller.rb
@@ -26,6 +26,7 @@ class Projects::TreeController < Projects::ApplicationController
respond_to do |format|
format.html do
+ lfs_blob_ids
@last_commit = @repository.last_commit_for_path(@commit.id, @tree.path) || @commit
end