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

cp: Create backup before hardlink #3033

Merged
merged 6 commits into from
Mar 7, 2022
Merged

cp: Create backup before hardlink #3033

merged 6 commits into from
Mar 7, 2022

Conversation

water-ghosts
Copy link
Contributor

Fixes #2983.

cp -lb a b should succeed even if b exists, since b is backed up before being overridden with the new hardlink.

@water-ghosts
Copy link
Contributor Author

Is there an easy way to see which GNU test regressed?

@tertsdiepraam
Copy link
Member

If you click on "details" and then summary on the left side of the screen. That will show the annotations with the failing tests. The ones falling for this PR are the same as in #3025, so you don't have to worry about it.

@sylvestre
Copy link
Contributor

"This branch cannot be rebased due to conflicts" could you please fix it?
thanks

@sylvestre sylvestre merged commit 37a0a74 into uutils:main Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"cp -lb" shouldn't fail if the destination file exists
3 participants