buzz
buzz copied to clipboard
fix(desktop): strip Windows extended-path prefix before git clone
Summary
PathBuf::canonicalize()on Windows returns paths with the\\?\extended-length prefix, which Git for Windows rejects withInvalid argument- Use
dunce::simplified()to strip the prefix at the two git CLI boundaries before passing paths to git
Fixes #3707
Testing
cargo test --lib -- project_repo_pathspassescargo clippy --libclean- Needs Windows verification: clone a project repo via Buzz Desktop