Skip to content

Commit

Permalink
fix git clone paths on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheemdev committed May 28, 2024
1 parent 3e250c4 commit b631841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/uv-git/src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ impl GitCheckout {
// Make sure to pass the local file path and not a file://... url. If given a url,
// Git treats the repository as a remote origin and gets confused because we don't
// have a HEAD checked out.
.arg(&database.repo.path)
.arg(database.repo.path.portable_display().to_string())
.arg(into)
.exec_with_streaming(&mut silent, &mut silent, true)?;

Expand Down

0 comments on commit b631841

Please sign in to comment.