You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Windows: use dunce::canonicalize to avoid \\?\ UNC paths
Root cause: std::fs::canonicalize on Windows produces \\?\ prefixed
paths that libgit2 mishandles during repository discovery and diffing,
and that cause path mismatches in cargo metadata output.
Fixes:
- Use dunce::canonicalize instead of std::fs::canonicalize in CLI
(dunce strips the \\?\ prefix when safe to do so)
- Refresh git index from disk before computing diffs to pick up
changes made by external git CLI commands
0 commit comments