Skip to content

cp: symlink flags fixing conflicting flag logic to use last flag#9960

Merged
cakebaker merged 2 commits intouutils:mainfrom
Dylans123:cp-ordering
Jan 1, 2026
Merged

cp: symlink flags fixing conflicting flag logic to use last flag#9960
cakebaker merged 2 commits intouutils:mainfrom
Dylans123:cp-ordering

Conversation

@Dylans123
Copy link
Contributor

In this issue, #9954 when multiple flags are specified the uutils implementation differs from the GNU implementation. This uses the overrides with all method to make sure that the last flag specified is the only one that ends up being set.

@cakebaker cakebaker merged commit 9cf774b into uutils:main Jan 1, 2026
129 checks passed
@cakebaker
Copy link
Contributor

Thanks for your PR!

sgmarz pushed a commit to sgmarz/coreutils that referenced this pull request Jan 7, 2026
…ils#9960)

* Adding overrides_with_all for symlink flags for ordering

* Adding regression tests for symlink flag ordering
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: when multiple flags are specified only the final one should take effect

2 participants