-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Fix invalid rules in .gitignore #89816
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`**node_modules` in a .gitignore is the same than `*node_modules` or `*****node_modules`. It matches every file whose name ends with `node_modules`, including `not_node_modules`. The intent here was obviously to have `**/node_modules` which is the same than just `node_modules`.
(rust-highfive has picked a reviewer for you, use r? to override) |
rust-highfive
added
the
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
label
Oct 12, 2021
Arguably, |
I think this is fine, though the slash would work as well. Thanks! @bors r+ rollup |
📌 Commit e5cfe84 has been approved by |
bors
added
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
and removed
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
Oct 13, 2021
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this pull request
Oct 13, 2021
Fix invalid rules in .gitignore `**node_modules` in a .gitignore is the same than `*node_modules` or `*****node_modules`. It matches every file whose name ends with `node_modules`, including `not_node_modules`. The intent here was obviously to have `**/node_modules` which is the same than just `node_modules`. Reference on git ignoring rules format: https://git-scm.com/docs/gitignore
the8472
added a commit
to the8472/rust
that referenced
this pull request
Oct 13, 2021
Fix invalid rules in .gitignore `**node_modules` in a .gitignore is the same than `*node_modules` or `*****node_modules`. It matches every file whose name ends with `node_modules`, including `not_node_modules`. The intent here was obviously to have `**/node_modules` which is the same than just `node_modules`. Reference on git ignoring rules format: https://git-scm.com/docs/gitignore
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Oct 13, 2021
Rollup of 12 pull requests Successful merges: - rust-lang#89768 (add some more testcases) - rust-lang#89777 (Edit explanation of test for nested type ascriptions) - rust-lang#89781 (Add missing words in `Infallible` docs) - rust-lang#89782 (Improve CJK font in rustdoc) - rust-lang#89794 (Add #[must_use] to to_value conversions) - rust-lang#89814 (Fix uppercase/lowercase error) - rust-lang#89816 (Fix invalid rules in .gitignore) - rust-lang#89817 (Add #[inline] to int log10 functions.) - rust-lang#89818 (Use Option::map_or instead of open coding it) - rust-lang#89828 (Fix config.toml overflow-checks options) - rust-lang#89840 (fix the stage0 tools config file path in `config.toml.example`) - rust-lang#89845 (Add davidtwco to the `.mailmap`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
**node_modules
in a .gitignore is the same than*node_modules
or*****node_modules
.It matches every file whose name ends with
node_modules
,including
not_node_modules
.The intent here was obviously to have
**/node_modules
which is the same than just
node_modules
.Reference on git ignoring rules format: https://git-scm.com/docs/gitignore