Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port all git functionality to use git CLI #3833

Merged
merged 6 commits into from
May 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use simplified_display instead of portable_display
  • Loading branch information
ibraheemdev committed May 30, 2024
commit d0c9143d616e63dd9e0b3b069c6b6e02b4b6d912
4 changes: 2 additions & 2 deletions crates/uv-git/src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ 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.portable_display().to_string())
.arg(into.portable_display().to_string())
.arg(database.repo.path.simplified_display().to_string())
.arg(into.simplified_display().to_string())
.exec_with_streaming(&mut silent, &mut silent, true)?;

let repo = GitRepository::open(into)?;
Expand Down
Loading