Skip to content

Fix/windows drive letter casing - #70

Merged
ozgen merged 4 commits into
mainfrom
fix/windows-drive-letter-casing
Nov 24, 2026
Merged

ozgen merged 4 commits into
mainfrom
fix/windows-drive-letter-casing

Conversation

@ozgen

@ozgen ozgen commented Nov 24, 2026

Copy link
Copy Markdown
Owner

What

  • Normalize path separators and Windows drive-letter casing for repository path comparisons.
  • Reuse shared path utilities in file decorations and watcher checks.
  • Preserve relative path casing, case sensitivity for remaining components, and existing watcher debounce and ignore behavior.
  • Correct the unstaged square icon ID in a separate commit.
  • Add regression tests and changelog notes for v1.3.3.

Why

Git can return a repository root beginning with C:/, while VS Code supplies file paths beginning with c:\. Case-sensitive comparisons reject files inside the repository, causing single-file staging and unstaging to silently do nothing, missing decorations, and ignored watcher events.

References

Fixes #69

@codecov-commenter

codecov-commenter commented Nov 24, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.13%. Comparing base (013c7de) to head (e988a4c).
⚠️ Report is 1 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #70       +/-   ##
===========================================
- Coverage   93.09%   76.13%   -16.97%     
===========================================
  Files          52       53        +1     
  Lines        1607     2011      +404     
  Branches      380      496      +116     
===========================================
+ Hits         1496     1531       +35     
- Misses         35      400      +365     
- Partials       76       80        +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ozgen
ozgen merged commit 2f8fd9a into main Nov 24, 2026
2 checks passed
@ozgen
ozgen deleted the fix/windows-drive-letter-casing branch November 24, 2026 16:01
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.

Windows: "Stage File" on a single file does nothing (drive letter case in path comparison)

2 participants