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
Please register or sign in to comment