根据官方文档 https://docs.gitlab.com/user/project/merge_requests/changes/ 的解释
A merge request proposes a set of changes to files in a branch in your repository. GitLab shows these changes as a diff (difference) between the current state and the proposed changes. By default, the diff compares your proposed changes (the source branch) with the target branch. By default, GitLab shows only the changed portions of the files.
只要下面任意一个变动发生:
• 源分支新增提交
• 源分支 rebase
• 目标分支新增提交
• GitLab 自动 rebase
• 自动解决冲突
GitLab 都会重新算一次 diff,因此数量可能不同。