Fix handling of moved and copied binary files.
Review Request #15145 — Created July 1, 2026 and submitted — Latest diff uploaded
When binary files were moved or copied, they weren't being handled
properly by the new binary file patcher. This wasn't immediately
apparent to me becausegit applyand GNU diff can do their own magic,
but when using Apple diff, especially in a non-git repo, this would fail
to handle the files properly. This change adds the missing handling for
those along with tests.
- Ran unit tests.
- Set up a test case with moved and copied binary files and verified
that patching worked correctly.