Skip to content

Replace paths using case-insensitive comparison#75

Closed
davidhewitt wants to merge 1 commit intodtolnay:masterfrom
davidhewitt:master
Closed

Replace paths using case-insensitive comparison#75
davidhewitt wants to merge 1 commit intodtolnay:masterfrom
davidhewitt:master

Conversation

@davidhewitt
Copy link
Contributor

This resolves #73

Instead of trying to craft an OS-specific solution there, I figured why not just use case-insensitive search when doing all the path-based replacement.

Technically this is only correct for case-insensitive filesystems, but I would be surprised if there is a situation where this is going to cause issues for anyone.

@kngwyu
Copy link

kngwyu commented Jun 3, 2020

@davidhewitt
I have a branch where I added a test for $WORKSPACE: kngwyu@cdeb388
Though I failed to reproduce the Windows bug and abandoned this branch, please use the test code from it if you need it.

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.

Workspace path expanded in output on Windows

2 participants