提交 f72e9df0 编写于 作者: E Eduard - Gabriel Munteanu 提交者: Linus Torvalds

Fix and clean top .gitignore

Removed vmlinux* rule because it matches too many useful files, replacing
it with rules matching filetype by filename (e.g. *.gz). Also unignored
.mailmap from the top directory. Added a comment telling the user how to
check for tracked files being ignored.
Signed-off-by: NEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 db6c24fd
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
# subdirectories here. Add them in the ".gitignore" file # subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead. # 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 # Normal rules
# #
.* .*
...@@ -18,19 +22,21 @@ ...@@ -18,19 +22,21 @@
*.lst *.lst
*.symtypes *.symtypes
*.order *.order
*.elf
*.bin
*.gz
# #
# Top-level generic files # Top-level generic files
# #
tags tags
TAGS TAGS
vmlinux* vmlinux
!vmlinux.lds.S
!vmlinux.lds.h
System.map System.map
Module.markers Module.markers
Module.symvers Module.symvers
!.gitignore !.gitignore
!.mailmap
# #
# Generated include files # Generated include files
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册