Closed requested to merge 36292-check-if-we-need-to-fetch-ref into master
What does this MR do?
Make sure we don't always fetch_ref for merge request diffs
Are there points in the code the reviewer needs to double check?
I am unsure where we should put this test, and the current test segfault on my computer...
Why was this MR needed?
To speed up diffs creation.
Does this MR meet the acceptance criteria?
Changelog entry added, if necessary
Tests added for this feature/bug
Has been reviewed by Backend
What are the relevant issue numbers?
Closes #36292 (closed)