Outdated master branch detection doesn't work with worktrees #130111
Closed
Description
When running any bootstrap command, it complains that it can't figure out whether my master branch is outdated.
Of course it does, as it just YOLOs into .git
, which is just a file and not a directory for worktrees:
rust/src/tools/build_helper/src/git.rs
Line 177 in adf8d16
it should probably not do that (i don't have a suggestion on what to do instead)
regressed by #129584 @lolbinarycat @albertlarsan68