mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
lintcheck: fix bug in downloade_and_extract() for git sources: we need to execute "git checkout xy" inside the repo dir!
This commit is contained in:
@@ -136,6 +136,7 @@ fn download_and_extract(&self) -> Crate {
|
||||
Command::new("git")
|
||||
.arg("checkout")
|
||||
.arg(commit)
|
||||
.current_dir(&repo_path)
|
||||
.output()
|
||||
.expect("Failed to check out commit");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user