Skip to content
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

compiler/rustc_mir_build/src/build ignored by .gitignore #109340

Closed
davidlattimore opened this issue Mar 19, 2023 · 1 comment
Closed

compiler/rustc_mir_build/src/build ignored by .gitignore #109340

davidlattimore opened this issue Mar 19, 2023 · 1 comment

Comments

@davidlattimore
Copy link
Contributor

#106440 changed from ignoring /build/ to ignoring build/ which means that now if you change files under compiler/rustc_mir_build/src/build, you need to use -f when running git add.

# git add compiler/rustc_mir_build/src/build/expr/as_operand.rs
The following paths are ignored by one of your .gitignore files:
compiler/rustc_mir_build/src/build
hint: Use -f if you really want to add them.
hint: Turn this message off by running
hint: "git config advice.addIgnoredFile false"

It looks like this is the only directory named build that is checked into the repository, so I guess renaming it would be an option if a suitable alternative name could be thought of.

Or perhaps there's some alternative to ignoring build throughout the tree? CC @jyn514

@jyn514
Copy link
Member

jyn514 commented Mar 19, 2023

fixed in #108772

@jyn514 jyn514 closed this as completed Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants