b1f15dfa42
This is called repeatedly when viewing a merge request, and this should improve performance significantly by avoiding shelling out to git every time. This should help https://gitlab.com/gitlab-com/infrastructure/issues/4027.
5 lines
97 B
YAML
5 lines
97 B
YAML
---
|
|
title: Memoize Git::Repository#has_visible_content?
|
|
merge_request:
|
|
author:
|
|
type: performance
|