Skip to content

Use Diff::File blob methods from diff highlighter

Douwe Maan requested to merge dm-highlight-diff-file-blob into master

Extracted from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11777

By using the memoized diff_file.{old,new}_blob methods, this prevents a potential unnecessary extra lookup.

Edited by Douwe Maan

Merge request reports

Loading