WIP: Make sure we don't always fetch_ref for merge request diffs
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 - Review
-
Has been reviewed by Backend
-
What are the relevant issue numbers?
Closes #36292 (closed)
Edited by username-removed-423915