Skip to content

Path case-sensitivity #42

@mrozekma

Description

@mrozekma

Got mostly treats paths as case-sensitive, even on case-insensitive filesystems, but sometimes does comparisons with pathlib. This leads to inconsistencies like:

C:\REPO> got --git status
Fatal error: Not a got repository: C:\REPO

C:\REPO> got --here host:project/repo
Fatal error: host:project/repo is already mapped to C:\repo

The best solution would be to treat path case correctly depending on the filesystem. At a minimum the case-sensitivity should be consistent to avoid issues like this, even if it's case-sensitive on NTFS.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions