Commit 67fefe0e authored by Robert Speicher's avatar Robert Speicher

Merge branch 'issue_13365' into 'master'

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

Fixes #13365

See merge request !2792
parents 07faf814 5a5ee618
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment