Skip to content

Commit 7948883

Browse files
authored
Rollup merge of #89816 - Canop:master, r=Mark-Simulacrum
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
2 parents 06e4aee + e5cfe84 commit 7948883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ __pycache__/
6969
*$py.class
7070

7171
## Node
72-
**node_modules
73-
**package-lock.json
72+
node_modules
73+
package-lock.json
7474

7575
## Rustdoc GUI tests
7676
src/test/rustdoc-gui/src/**.lock

0 commit comments

Comments
 (0)