Ensure rejecting a hunk dismisses the diff (#27919)

Release Notes:

- N/A
d340670fd4Antonio Scandurra committed on 4/2/2025, 2:06:36 PM· committed by GitHubparentad42a8a
3 files changedLine totals unavailable