Skip to content

Commit

Permalink
Make sure to fetch the correct remote.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Oct 2, 2021
1 parent cd6a2f7 commit 0f93319
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ fn get_repo() -> Result<Repository, Error> {
// This uses the CLI because libgit2 is quite slow to fetch a large repository.
let status = std::process::Command::new("git")
.arg("fetch")
.arg(RUST_SRC_URL)
.current_dir(repo)
.status()
.context(format!(
Expand Down

0 comments on commit 0f93319

Please sign in to comment.