.gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore
[linux-2.6-block.git] / .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 # NOTE! Please use 'git ls-files -i --exclude-standard'
7 # command after changing this file, to see if there are
8 # any tracked files which get ignored after the change.
9 #
10 # Normal rules (sorted alphabetically)
11 #
12 .*
13 *.a
14 *.bin
15 *.bz2
16 *.c.[012]*.*
17 *.dtb
18 *.dtb.S
19 *.dwo
20 *.elf
21 *.gcno
22 *.gz
23 *.i
24 *.ko
25 *.lex.c
26 *.ll
27 *.lst
28 *.lz4
29 *.lzma
30 *.lzo
31 *.mod.c
32 *.o
33 *.o.*
34 *.order
35 *.patch
36 *.s
37 *.so
38 *.so.dbg
39 *.su
40 *.symtypes
41 *.tab.[ch]
42 *.tar
43 *.xz
44 Module.symvers
45 modules.builtin
46
47 #
48 # Top-level generic files
49 #
50 /tags
51 /TAGS
52 /linux
53 /vmlinux
54 /vmlinux.32
55 /vmlinux-gdb.py
56 /vmlinuz
57 /System.map
58 /Module.markers
59
60 #
61 # RPM spec file (make rpm-pkg)
62 #
63 /*.spec
64
65 #
66 # Debian directory (make deb-pkg)
67 #
68 /debian/
69
70 #
71 # Snap directory (make snap-pkg)
72 #
73 /snap/
74
75 #
76 # tar directory (make tar*-pkg)
77 #
78 /tar-install/
79
80 #
81 # git files that we don't want to ignore even if they are dot-files
82 #
83 !.gitignore
84 !.mailmap
85 !.cocciconfig
86
87 #
88 # Generated include files
89 #
90 include/config
91 include/generated
92 include/ksym
93 arch/*/include/generated
94
95 # stgit generated dirs
96 patches-*
97
98 # quilt's files
99 patches
100 series
101
102 # cscope files
103 cscope.*
104 ncscope.*
105
106 # gnu global files
107 GPATH
108 GRTAGS
109 GSYMS
110 GTAGS
111
112 # id-utils files
113 ID
114
115 *.orig
116 *~
117 \#*#
118
119 #
120 # Leavings from module signing
121 #
122 extra_certificates
123 signing_key.pem
124 signing_key.priv
125 signing_key.x509
126 x509.genkey
127
128 # Kconfig presets
129 all.config
130
131 # Kdevelop4
132 *.kdev4
133
134 #Automatically generated by ASN.1 compiler
135 net/ipv4/netfilter/nf_nat_snmp_basic-asn1.c
136 net/ipv4/netfilter/nf_nat_snmp_basic-asn1.h