glob should correctly handle case-sensitive paths on case-insensitive systems and vice versa
Opena5ba717243b058b21fc3b9c2f39ce012c0a4eb82Created 253 days agoUpdated 19 days ago
Descriptionmarkdown2026-03-25 06:46:40
As a follow-on to 108904173c...
The semantics of glob do case-insensitive matching on Windows even when the file system or directory are case-sensitive. Thus a pattern FOO will match even when FOO does not exist on the file system but foo does.
The reverse is also likely to be true (case-insensitive file system mounted on Unix).
Fixing may not be easy, particularly since case-insensitivity can be on a per-directory basis. Possibly documenting this corner case is all we can do.
serhiy.storchaka Ticket [a5ba717243]: 2 changes
[History diff]2026-11-13 11:18:46
Log in (anonymous is fine) to add a comment.