Commit 31d8143
fix(path): preserve path casing on case-sensitive filesystems (#48)
toSimplePath() unconditionally lowercased all paths, which corrupted
paths on case-sensitive filesystems (Linux, case-sensitive macOS APFS).
Git operations would fail because the lowercased cwd did not exist,
causing the "Please open at least one Git repository in workspace" error.
Only apply toLowerCase() on Windows where the filesystem is
case-insensitive. The backslash normalization remains unconditional.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d7287a4 commit 31d8143
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments