Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Add some basic .gitignore files

This still leaves driver and architecture-specific subdirectories alone,
but gets rid of the bulk of the "generic" generated files that we should
ignore.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>

+84
+30
.gitignore
··· 1 + # 2 + # NOTE! Don't add files that are generated in specific 3 + # subdirectories here. Add them in the ".gitignore" file 4 + # in that subdirectory instead. 5 + # 6 + # Normal rules 7 + # 8 + .* 9 + *.o 10 + *.a 11 + *.s 12 + *.ko 13 + *.mod.c 14 + 15 + # 16 + # Top-level generic files 17 + # 18 + vmlinux* 19 + System.map 20 + Module.symvers 21 + 22 + # 23 + # Generated include files 24 + # 25 + include/asm 26 + include/config 27 + include/linux/autoconf.h 28 + include/linux/compile.h 29 + include/linux/version.h 30 +
+3
drivers/char/.gitignore
··· 1 + consolemap_deftbl.c 2 + defkeymap.c 3 +
+4
drivers/pci/.gitignore
··· 1 + classlist.h 2 + devlist.h 3 + gen-devlist 4 +
+7
drivers/video/logo/.gitignore
··· 1 + # 2 + # Generated files 3 + # 4 + *_mono.c 5 + *_vga16.c 6 + *_clut224.c 7 + *_gray256.c
+6
lib/.gitignore
··· 1 + # 2 + # Generated files 3 + # 4 + gen_crc32table 5 + crc32table.h 6 +
+4
scripts/.gitignore
··· 1 + conmakehash 2 + kallsyms 3 + pnmtologo 4 +
+3
scripts/basic/.gitignore
··· 1 + fixdep 2 + split-include 3 + docproc
+16
scripts/kconfig/.gitignore
··· 1 + # 2 + # Generated files 3 + # 4 + config* 5 + lex.*.c 6 + *.tab.c 7 + *.tab.h 8 + 9 + # 10 + # configuration programs 11 + # 12 + conf 13 + mconf 14 + qconf 15 + gconf 16 + kxgettext
+4
scripts/mod/.gitignore
··· 1 + elfconfig.h 2 + mk_elfconfig 3 + modpost 4 +
+7
usr/.gitignore
··· 1 + # 2 + # Generated files 3 + # 4 + gen_init_cpio 5 + initramfs_data.cpio 6 + initramfs_data.cpio.gz 7 + initramfs_list