Skip to content

cp --remove-destination: don't fail if destination is hardlink to source#5431

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:cp_remove_destination_shouldnt_fail_hardlink
Dec 25, 2023
Merged

cp --remove-destination: don't fail if destination is hardlink to source#5431
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:cp_remove_destination_shouldnt_fail_hardlink

Conversation

@cakebaker
Copy link
Copy Markdown
Contributor

@cakebaker cakebaker commented Oct 20, 2023

With this PR, cp --remove-destination no longer shows an error on Unix platforms if the destination is a hardlink to the source and the destination is removed instead.

This PR probably conflicts with #5430

@cakebaker cakebaker force-pushed the cp_remove_destination_shouldnt_fail_hardlink branch 2 times, most recently from 7c7e822 to 04dec5c Compare October 20, 2023 12:42
@sylvestre sylvestre force-pushed the cp_remove_destination_shouldnt_fail_hardlink branch from 04dec5c to 94492c9 Compare October 22, 2023 20:17
@sylvestre sylvestre merged commit 356023b into uutils:main Dec 25, 2023
@cakebaker cakebaker deleted the cp_remove_destination_shouldnt_fail_hardlink branch December 25, 2023 13:19
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.

2 participants