9
0
Fork 0

gitignore: sync with Linux's .gitignore

The top .gitignore is getting close to Linux's one.
I am inclined to sync it more.

 - Add a missing comment block
 - Add missing patterns that have no impact (*.o.*, *.so.dbg)
 - Add prefix "/" to top-level generic files
 - Arrange the order for easier diff

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Masahiro Yamada 2015-01-29 11:27:54 +09:00 committed by Sascha Hauer
parent 4aa6819ecb
commit 97462a77fd
1 changed files with 14 additions and 9 deletions

23
.gitignore vendored
View File

@ -3,37 +3,41 @@
# 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
# #
*~
.* .*
\#*\#
*.o *.o
*.o.*
*.a *.a
*.s *.s
*.ko *.ko
*.so *.so
*.so.dbg
*.mod.c *.mod.c
*.i *.i
*.lst *.lst
*.symtypes *.symtypes
*.elf *.elf
*.patch
*.mcp *.mcp
*.orig
*.bct *.bct
*.dcd *.dcd
*.dcd.S *.dcd.S
*.bbenv *.bbenv
*.bbenv.* *.bbenv.*
Module.symvers
# #
# Top-level generic files # Top-level generic files
# #
tags /tags
TAGS /TAGS
/barebox* /barebox*
System.map /System.map
Module.symvers
# #
# git files that we don't want to ignore even it they are dot-files # git files that we don't want to ignore even it they are dot-files
@ -68,8 +72,9 @@ GRTAGS
GSYMS GSYMS
GTAGS GTAGS
# patches *.orig
*.patch *~
\#*\#
# Kconfig presets # Kconfig presets
all.config all.config