Skip to content

Commit 98dead3

Browse files
committed
Fetch tags when updating the rust repo
1 parent ce2c610 commit 98dead3

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)