-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
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
| let branch_path = git_dir.join(".git/refs/remotes").join(&updated_master); |
it should probably not do that (i don't have a suggestion on what to do instead)
regressed by #129584 @lolbinarycat @albertlarsan68
davidtwco
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)