mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 22:31:32 +00:00
6db823cf4b
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 <jirislaby@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
79 lines
930 B
Plaintext
79 lines
930 B
Plaintext
#
|
|
# NOTE! Don't add files that are generated in specific
|
|
# subdirectories here. Add them in the ".gitignore" file
|
|
# in that subdirectory instead.
|
|
#
|
|
# NOTE! Please use 'git ls-files -i --exclude-standard'
|
|
# command after changing this file, to see if there are
|
|
# any tracked files which get ignored after the change.
|
|
#
|
|
# Normal rules
|
|
#
|
|
.*
|
|
*.o
|
|
*.o.*
|
|
*.a
|
|
*.s
|
|
*.ko
|
|
*.so
|
|
*.so.dbg
|
|
*.mod.c
|
|
*.i
|
|
*.lst
|
|
*.symtypes
|
|
*.order
|
|
modules.builtin
|
|
*.elf
|
|
*.bin
|
|
*.gz
|
|
*.bz2
|
|
*.lzma
|
|
*.patch
|
|
*.gcno
|
|
|
|
#
|
|
# Top-level generic files
|
|
#
|
|
/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
|
|
|
|
#
|
|
# Generated include files
|
|
#
|
|
include/config
|
|
include/linux/version.h
|
|
include/generated
|
|
|
|
# stgit generated dirs
|
|
patches-*
|
|
|
|
# quilt's files
|
|
patches
|
|
series
|
|
|
|
# cscope files
|
|
cscope.*
|
|
ncscope.*
|
|
|
|
# gnu global files
|
|
GPATH
|
|
GRTAGS
|
|
GSYMS
|
|
GTAGS
|
|
|
|
*.orig
|
|
*~
|
|
\#*#
|