mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-29 19:25:31 +00:00
Windows paths are case-insensitive, so C:/Work/App and c:\work\app name the same folder. Add samePath(), which lowercases resolved paths on win32 only, and use it for the registry lookup, the list marker and the resume cd hint. The SessionStart hook now uses findProject() instead of indexing the registry with a key that may be undefined. Tests: the Git Bash registration is found from PowerShell and from a lower-case path (init, save, list, resume with the saved session, SessionStart); resume and forget act on the exact registration when both spellings exist; SessionStart ignores a registration that does not match. Rebind the skill triggers manifest to the new registry digest. Refs #3924