find: Fix -execdir + working incorrectly for the root path by milkory · Pull Request #533 · uutils/findutils · GitHub
Skip to content

find: Fix -execdir + working incorrectly for the root path#533

Open
milkory wants to merge 3 commits into
uutils:mainfrom
milkory:fix-exec-m-at-root
Open

find: Fix -execdir + working incorrectly for the root path#533
milkory wants to merge 3 commits into
uutils:mainfrom
milkory:fix-exec-m-at-root

Conversation

@milkory

@milkory milkory commented Apr 9, 2025

Copy link
Copy Markdown
Contributor

This command should work now.

find / -maxdepth 0 -execdir echo {} +

@codecov

codecov Bot commented Apr 9, 2025

Copy link
Copy Markdown

@milkory milkory changed the title find: Fix -exec + working incorrectly for the root path find: Fix -execdir + working incorrectly for the root path Apr 9, 2025
@sylvestre

Copy link
Copy Markdown
Contributor

Could you please add a test to make sure we don't regress? Thanks

@sylvestre sylvestre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs a test

@milkory

milkory commented Apr 13, 2025

Copy link
Copy Markdown
Contributor Author

Yes, I'll add some later.

@milkory

milkory commented Apr 13, 2025

Copy link
Copy Markdown
Contributor Author

@milkory milkory requested a review from sylvestre April 13, 2025 16:40
@sylvestre sylvestre force-pushed the fix-exec-m-at-root branch from ca59d98 to d02dcbc Compare April 24, 2025 18:24
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