Commit 5c3ddecc authored by Sean McGivern's avatar Sean McGivern

Merge branch 'sh-enable-ref-caching-diffs-controller' into 'master'

Enable ref name caching for merge request diffs

Closes #217192

See merge request gitlab-org/gitlab!31530
parents 2f195eb2 c3588bd6
......@@ -9,6 +9,8 @@ class Projects::MergeRequests::DiffsController < Projects::MergeRequests::Applic
before_action :define_diff_vars
before_action :define_diff_comment_vars, except: [:diffs_batch, :diffs_metadata]
around_action :allow_gitaly_ref_name_caching
def show
render_diffs
end
......
---
title: Enable ref name caching for merge request diffs
merge_request: 31530
author:
type: performance
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