Restore original file content when rejecting an overwritten file (#29974)

Release Notes:

- Fixed a bug that would cause rejecting a hunk from the agent to delete
the file if the agent had decided to rewrite that file from scratch.
210c338df4Antonio Scandurra committed on 5/6/2025, 7:05:55 AM· committed by GitHubparent86cc5c2
2 files changedLine totals unavailable