提交 67fefe0e 编写于 作者: R Robert Speicher

Merge branch 'issue_13365' into 'master'

Load all blob data when highlighting content for git-blame.

Fixes #13365

See merge request !2792
......@@ -40,6 +40,7 @@ module Gitlab
end
def highlighted_lines
@blob.load_all_data!(repository)
@highlighted_lines ||= Gitlab::Highlight.highlight(@blob.name, @blob.data).lines
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册