changes tab gets not updated after changing target branch on an MR
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=520254)
</details>
<!--IssueSummary end-->
I noticed that the changes tab of an MR does not get updated after changing target branch on said MR.
I have a `develop` branch, I branched off a new feature branch `feature-XYZ`, did a few hours work and branched off from feature-XYZ resulting in the branch `feature-XYZ-subtask-1`.
I created an MR from `feature-XYZ-subtask-1` to `develop`. The changes tab showed 19 changes, which was more than I expected and I understood that I didn't want to merge into `develop` but rather into `feature-XYZ` (and the 19 changes did include all the commits on `feature-XYZ`).
So I edited the MR and changed the target branch to `feature-XYZ`. But I noticed that the changes tab still showed the 19 changes.
I wasn't sure what would happen when I merge the MR so I decided to play it safe and close the MR and open a completely fresh one with source and target I needed. This time the changes tab only showed 3 changes as was expected.
issue