Commit 6db823cf authored by Linus Torvalds's avatar Linus Torvalds

Fix up .gitignore for top-level file patterns

Some of the gitignore file patters were explicitly meant to be only for
the top level, but weren't marked that way, so they would trigger
recursively in subdirectories too.  Normally that was harmless, but at
least "linux" happened to trigger elsewhere too. Fix it up.

And other patterns in that section weren't necessarily top-level at all.
Reported-by: default avatarJiri Slaby <>
Signed-off-by: default avatarLinus Torvalds <>
parent 64d5aea3
...@@ -34,14 +34,18 @@ modules.builtin ...@@ -34,14 +34,18 @@ modules.builtin
# #
# Top-level generic files # Top-level generic files
# #
tags /tags
linux /linux
vmlinux /vmlinux
vmlinuz /vmlinuz /
Module.markers /Module.markers
Module.symvers /Module.symvers
# git files that we don't want to ignore even it they are dot-files
!.gitignore !.gitignore
!.mailmap !.mailmap
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment