Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unpack_strategy/directory: use mv for nested unpack #18518

Merged
merged 1 commit into from
Oct 20, 2024
Merged

Commits on Oct 20, 2024

  1. unpack_strategy/directory: use mv for nested unpack

    `mv` should preserve hardlinks and allow faster unpack on the same
    filesystem. A secondary pass is done with `cp` to copy over attributes
    onto any existing directories.
    
    We only run this for nested unpacks as most direct Directory strategy
    usage is for repositories where moving files breaks existing code.
    
    This uses `cp -pR` for non-move as some potential user reported issues
    could be due to Apple's `cp -l` on specific macOS versions. Can
    consider re-adding `cp -l` with better handling for older macOS.
    cho-m committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    13be3c3 View commit details
    Browse the repository at this point in the history