-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Issue 4135: include = [...] should override git file list #4180
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
Looks good to me! I think though there's a test failure on AppVeyor? It can probably be fixed with usage of |
Ah I was wondering what the |
Will this also cause EDIT: ah, looks like it will. |
@sfackler yeah it will. Or rather, this will cause the code to actually conform to what is documented here, namely:
However, as I noted on the issue, I think we should plan in the future to adopt a different semantics, where |
@bors r=alexcrichton |
@pnkfelix: 🔑 Insufficient privileges: Not in reviewers |
@bors r=alexcrichton You can make a PR to https://github.com/rust-lang/rust-central-station to get r+ rights. |
📌 Commit 749ec6e has been approved by |
Issue 4135: include = [...] should override git file list Fix #4135: if theres `include = [...]`, then do not prepopulate file list via git.
☀️ Test successful - status-appveyor, status-travis |
…ichton Fix test include_overrides_gitignore. This test was added in #4180 and was disabled in #4218. I don't think it is really feasible to get filetime into the test. The test was also using some questionable behavior of modifying contents of `src` from a `build.rs` script. I rewrote the test to directly test the original change of having `package.include` override `.gitignore`.
Fix #4135: if theres
include = [...]
, then do not prepopulate file list via git.