Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 <>
  • Loading branch information...
commit 6db823cf4b44f235b5e1da8ec1fe3c3cd63647fe 1 parent 64d5aea
Linus Torvalds torvalds authored
Showing with 12 additions and 8 deletions.
  1. +12 −8 .gitignore
20 .gitignore
@@ -34,14 +34,18 @@ modules.builtin
# Top-level generic files
+# git files that we don't want to ignore even it they are dot-files
Please sign in to comment.
Something went wrong with that request. Please try again.