repository: Disable file history rename detection
What does this MR do and why?
repository: Disable file history rename detection
When viewing the commit history of a file, the FindCommits
Gitaly RPC
is invoked with the follow
option enabled. This instructs the
underlying git-log(1)
operation to follow file renames when fetching
commit history. This rename detection can be rather expensive for
repositories with deep commit history and result in long file commit
history load times.
Disable enabling the follow
option to improve performance for file
commit history.
Related: gitaly#5821 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.