Skip to content

Commit 95eaf5b

Browse files
authored
Merge pull request #263 from ehuss/fetch-tags
Fetch tags when updating the rust repo
2 parents c93a364 + 98dead3 commit 95eaf5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/git.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fn get_repo() -> anyhow::Result<RustcRepo> {
7272
eprintln!("refreshing repository at {:?}", path);
7373
// This uses the CLI because libgit2 is quite slow to fetch a large repository.
7474
let status = std::process::Command::new("git")
75-
.arg("fetch")
75+
.args(&["fetch", "--tags"])
7676
.arg(&origin_remote)
7777
.current_dir(path)
7878
.status()

0 commit comments

Comments
 (0)