summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-01-29 11:27:54 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2015-02-02 11:46:30 +0100
commit97462a77fd2695f5de10a23bdae2f1d395985b58 (patch)
tree64291ebcea0a926b73c26ef42012f050c4b774a5
parent4aa6819ecb8914b0dfec03a7bb79746e43806f96 (diff)
downloadbarebox-97462a77fd2695f5de10a23bdae2f1d395985b58.tar.gz
barebox-97462a77fd2695f5de10a23bdae2f1d395985b58.tar.xz
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>
-rw-r--r--.gitignore23
1 files changed, 14 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index 4f8769ae23..ce2be8ac04 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,37 +3,41 @@
# 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
*.elf
+*.patch
*.mcp
-*.orig
*.bct
*.dcd
*.dcd.S
*.bbenv
*.bbenv.*
+Module.symvers
#
# Top-level generic files
#
-tags
-TAGS
+/tags
+/TAGS
/barebox*
-System.map
-Module.symvers
+/System.map
#
# git files that we don't want to ignore even it they are dot-files
@@ -68,8 +72,9 @@ GRTAGS
GSYMS
GTAGS
-# patches
-*.patch
+*.orig
+*~
+\#*\#
# Kconfig presets
all.config