Implement git range-diff for MR Diffs Version Comparison
Goal
The project aims to enhance the functionality of GitLab by enabling the display of comprehensive differences between two development branches. Specifically, it focuses on addressing the issues that arise when one branch is rebased on top of another, leading to potential conflicts and inconsistencies.
To overcome this limitation, the project proposes the implementation of an RPC call in Gitaly, a crucial component of GitLab. This RPC call would facilitate the utilization of the git range-diff command, which allows for a more comprehensive and detailed comparison between two branches. The result of the range-diff command would be sent back to GitLab for display.
The primary goal of this project is to integrate the new RPC call into Gitaly, enabling the execution of git range-diff between branches and the subsequent retrieval of the diff result. Once this functionality is implemented, GitLab will be equipped to showcase the range-diff on Merge Request (MR) pages, providing users with a clearer understanding of the changes made to the branch since its initial push.
This would be a big step towards resolving gitlab#24096