Issue 4135: include = [...] should override git file list#4180
Issue 4135: include = [...] should override git file list#4180bors merged 3 commits intorust-lang:masterfrom
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.