We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05e1ae7 commit 55e2c26Copy full SHA for 55e2c26
src/bootstrap/src/utils/channel.rs
@@ -66,16 +66,19 @@ impl GitInfo {
66
.arg("-1")
67
.arg("--date=short")
68
.arg("--pretty=format:%cd")
69
+ .run_always()
70
.start_capture_stdout(&exec_ctx);
71
72
let mut git_hash_cmd = helpers::git(Some(dir));
- let ver_hash = git_hash_cmd.arg("rev-parse").arg("HEAD").start_capture_stdout(&exec_ctx);
73
+ let ver_hash =
74
+ git_hash_cmd.arg("rev-parse").arg("HEAD").run_always().start_capture_stdout(&exec_ctx);
75
76
let mut git_short_hash_cmd = helpers::git(Some(dir));
77
let short_ver_hash = git_short_hash_cmd
78
.arg("rev-parse")
79
.arg("--short=9")
80
.arg("HEAD")
81
82
83
84
GitInfo::Present(Some(Info {
0 commit comments