Restore file to original content when rejecting file recreated by agent (#29264)

Release Notes:

- Fixed a bug that could sometimes cause a file to be deleted when
rejecting an agent change.
55ea481707Antonio Scandurra committed on 4/23/2025, 9:42:43 AM· committed by GitHubparent5e31d86
11 files changedLine totals unavailable