]> git.ipfire.org Git - thirdparty/linux.git/blame - .gitignore
btrfs: make the logic from btrfs_block_can_be_shared() easier to read
[thirdparty/linux.git] / .gitignore
CommitLineData
d198b34f 1# SPDX-License-Identifier: GPL-2.0-only
1e65174a
LT
2#
3# NOTE! Don't add files that are generated in specific
4# subdirectories here. Add them in the ".gitignore" file
5# in that subdirectory instead.
6#
b8a9ddca 7# NOTE! Please use 'git ls-files -i -c --exclude-per-directory=.gitignore'
f72e9df0
EGM
8# command after changing this file, to see if there are
9# any tracked files which get ignored after the change.
10#
1377dd3e 11# Normal rules (sorted alphabetically)
1e65174a
LT
12#
13.*
1377dd3e 14*.a
4fa8bc94 15*.asn1.[ch]
1377dd3e
MY
16*.bin
17*.bz2
18*.c.[012]*.*
4f0e3a57 19*.dt.yaml
10b62a2f 20*.dtb
ce88c9c7 21*.dtbo
10b62a2f 22*.dtb.S
dcad240c 23*.dtbo.S
1377dd3e
MY
24*.dwo
25*.elf
26*.gcno
27*.gz
28*.i
29*.ko
59889300 30*.lex.c
1377dd3e
MY
31*.ll
32*.lst
33*.lz4
34*.lzma
35*.lzo
b7dca6dd 36*.mod
1377dd3e 37*.mod.c
1e65174a 38*.o
96918a35 39*.o.*
1377dd3e 40*.patch
2f7ab126 41*.rmeta
924d28b3 42*.rpm
2f7ab126 43*.rsi
1e65174a 44*.s
20ede274 45*.so
f322727b 46*.so.dbg
1377dd3e 47*.su
ac3b719c 48*.symtypes
38e89184 49*.symversions
59889300 50*.tab.[ch]
f4ae9497 51*.tar
790e10ba 52*.xz
6f3decab 53*.zst
082722a0 54Module.symvers
a564bdeb 55modules.order
1e65174a
LT
56
57#
58# Top-level generic files
59#
6db823cf 60/linux
69bc8d38 61/modules-only.symvers
6db823cf 62/vmlinux
d0fe116b 63/vmlinux.32
5cc12472 64/vmlinux.map
269a535c 65/vmlinux.symvers
2478a8a1 66/vmlinux-gdb.py
6db823cf
LT
67/vmlinuz
68/System.map
69/Module.markers
40cb0203 70/modules.builtin
898490c0 71/modules.builtin.modinfo
bbc55bde 72/modules.nsdeps
6db823cf 73
af60e207
MY
74#
75# RPM spec file (make rpm-pkg)
76#
81f59a26 77/rpmbuild/
af60e207 78
b7568286
GD
79#
80# Debian directory (make deb-pkg)
81#
82/debian/
83
5704d455
PP
84#
85# Snap directory (make snap-pkg)
86#
87/snap/
88
dd10ca6c
AS
89#
90# tar directory (make tar*-pkg)
91#
92/tar-install/
93
6db823cf 94#
f46e65da 95# We don't want to ignore the following even if they are dot-files
6db823cf 96#
f46e65da
MY
97!.clang-format
98!.cocciconfig
99!.get_maintainer.ignore
100!.gitattributes
9e447a7f 101!.gitignore
cb8865fd 102!.kunitconfig
f72e9df0 103!.mailmap
80db40ba 104!.rustfmt.toml
1e65174a
LT
105
106#
107# Generated include files
108#
1e35663e
MY
109/include/config/
110/include/generated/
1e35663e 111/arch/*/include/generated/
1e65174a 112
1d519605
MCC
113# stgit generated dirs
114patches-*
8ccf2832
QY
115
116# quilt's files
117patches
118series
132e2bc3 119
819cb9fc
MY
120# ctags files
121tags
122TAGS
123
132e2bc3
TK
124# cscope files
125cscope.*
9723c046 126ncscope.*
3f1b0e1f 127
f2ac5e78
JN
128# gnu global files
129GPATH
130GRTAGS
131GSYMS
132GTAGS
133
a37161c0
AK
134# id-utils files
135ID
136
3f1b0e1f 137*.orig
70886554
CD
138*~
139\#*#
addbcdbb
DH
140
141#
142# Leavings from module signing
143#
144extra_certificates
fb117949 145signing_key.pem
addbcdbb
DH
146signing_key.priv
147signing_key.x509
addbcdbb 148x509.genkey
25fba9be
BP
149
150# Kconfig presets
7fb1fc42
MY
151/all.config
152/alldef.config
153/allmod.config
154/allno.config
155/allrandom.config
156/allyes.config
dfe04872 157
ba77dca5
PM
158# Kconfig savedefconfig output
159/defconfig
160
dfe04872
BH
161# Kdevelop4
162*.kdev4
26c4c71b
TK
163
164# Clang's compilation database file
165/compile_commands.json
f6236efc
MCC
166
167# Documentation toolchain
168sphinx_*/
8c4555cc
MO
169
170# Rust analyzer configuration
171/rust-project.json