• 
      

    Fix handling of moved and copied binary files.

    Review Request #15145 — Created July 1, 2026 and submitted

    Information

    RBTools
    master

    Reviewers

    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 because git apply and 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.
    Summary ID
    Fix handling of moved and copied binary files.
    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 because `git apply` and 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. Testing Done: - Ran unit tests. - Set up a test case with moved and copied binary files and verified that patching worked correctly.
    pmmoymmppzvnzuxvnqvmrswqxvksypzx
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (a4d6880)