buzz icon indicating copy to clipboard operation
buzz copied to clipboard

fix(desktop): strip Windows extended-path prefix before git clone

Open JoeJoeflyn opened this issue 4 months ago • 0 comments

Summary

  • PathBuf::canonicalize() on Windows returns paths with the \\?\ extended-length prefix, which Git for Windows rejects with Invalid 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_paths passes
  • cargo clippy --lib clean
  • Needs Windows verification: clone a project repo via Buzz Desktop

JoeJoeflyn avatar Jul 30 '26 10:07 JoeJoeflyn