• Sean McGivern's avatar
    Allow Gitaly ref name caching for issue discussions · 707c1201
    Sean McGivern authored
    Issue discussions can link to repository files as relative links. If
    several comments do so, it means that we will fetch the default branch's
    ref from Gitaly once per comment, when we don't expect this to change
    during the request. (This caching is already enabled for an MR's
    discussions.)
    707c1201
issues_controller.rb 8.53 KB