-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x.py breaks submodule state when run in a pre-commit hook from a worktree #77620
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Comments
jyn514
added
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
C-bug
Category: This is a bug.
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
labels
Oct 6, 2020
Breakage
|
I've had |
Here's a script that will fix it if it does happen:
|
jyn514
added a commit
to jyn514/rust
that referenced
this issue
Oct 7, 2020
Works around rust-lang#77620
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 8, 2020
Unset GIT_DIR in pre-commit hook Works around rust-lang#77620. This won't help any other hooks you write manually, but hopefully people won't feel the need to do that now there's an 'official' one. r? `@Mark-Simulacrum` cc `@caass`
I'm going to chalk this up to git weirdness and close the issue until we run into more trouble. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
This has been around for a while but #76356 will exacerbate the issue.
Steps to replicate:
The text was updated successfully, but these errors were encountered: