Skip to content

fix: respect case sensitivity of filesystem when collecting new files #1699

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

Merged
merged 9 commits into from
Jun 2, 2025

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented May 28, 2025

This should fix #1375

The issue boils down to the fact that the filesystem on Windows is case-insensitive (foobar.txt == FOOBAR.txt) but path comparison in Rust is not case-insensitive. Or maybe, to be more precise, case-preserving while being case-insensitive.

So we sometimes detected a file as new, even though it matched an existing file (just different casing of the parent directory).

@wolfv wolfv merged commit 669028f into prefix-dev:main Jun 2, 2025
18 checks passed
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.

Files from dependency non-deterministically included in package built on Windows
1 participant