Skip to content

Commit e226f07

Browse files
authored
checker: unset @VCURRENTHASH for V build/bootstrapped outside of a Git repository (fix #26407) (#26426)
1 parent c2a64e2 commit e226f07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vlib/v/checker/checker.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ pub fn new_checker(table &ast.Table, pref_ &pref.Preferences) &Checker {
167167
timers_should_print = true
168168
}
169169
v_current_commit_hash := if pref_.building_v {
170-
version.githash(pref_.vroot) or { vcurrent_hash() }
170+
version.githash(pref_.vroot) or { '' }
171171
} else {
172172
vcurrent_hash()
173173
}

0 commit comments

Comments
 (0)