From 6db823cf4b44f235b5e1da8ec1fe3c3cd63647fe Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 12 Mar 2010 16:30:23 -0800 Subject: 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: Jiri Slaby Signed-off-by: Linus Torvalds --- .gitignore | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index efab0ebec85..a2939fc10b2 100644 --- a/.gitignore +++ b/.gitignore @@ -34,14 +34,18 @@ modules.builtin # # Top-level generic files # -tags -TAGS -linux -vmlinux -vmlinuz -System.map -Module.markers -Module.symvers +/tags +/TAGS +/linux +/vmlinux +/vmlinuz +/System.map +/Module.markers +/Module.symvers + +# +# git files that we don't want to ignore even it they are dot-files +# !.gitignore !.mailmap -- cgit v1.2.2