Skip to content
Snippets Groups Projects
Commit 7997900a authored by Eric Ju's avatar Eric Ju
Browse files

repository: Make GetInfoAttributes read from HEAD:.gitattribute

This is a solution for N+1 problem we come across, see
https://gitlab.com/groups/gitlab-org/-/epics/9006#note_1730745750 for
details.

In order to remove the reliance of info/attribute and avoid breaking
Rails with TooManyInvocationsError. GetInfoAttributes is set to read
from HEAD:.gitattribute.

It will also try to delete info/attribute before reading.

After proper refactor on Rails to solve the N+1 case.
GetInfoAttributes can be removed totally.

This is my commit message body
parent aa352ff8
No related merge requests found
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