mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 04:04:26 +08:00
.gitignore: prefix local generated files with a slash
The pattern prefixed with '/' matches files in the same directory, but not ones in sub-directories. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Miguel Ojeda <ojeda@kernel.org> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Andra Paraschiv <andraprs@amazon.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Gabriel Krisman Bertazi <krisman@collabora.com>
This commit is contained in:
parent
77a88274dc
commit
9009b45581
4
Documentation/devicetree/bindings/.gitignore
vendored
4
Documentation/devicetree/bindings/.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
*.example.dts
|
||||
processed-schema*.yaml
|
||||
processed-schema*.json
|
||||
/processed-schema*.yaml
|
||||
/processed-schema*.json
|
||||
|
4
arch/.gitignore
vendored
4
arch/.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
i386
|
||||
x86_64
|
||||
/i386/
|
||||
/x86_64/
|
||||
|
4
certs/.gitignore
vendored
4
certs/.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
x509_certificate_list
|
||||
x509_revocation_list
|
||||
/x509_certificate_list
|
||||
/x509_revocation_list
|
||||
|
2
drivers/memory/.gitignore
vendored
2
drivers/memory/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
ti-emif-asm-offsets.h
|
||||
/ti-emif-asm-offsets.h
|
||||
|
6
drivers/tty/vt/.gitignore
vendored
6
drivers/tty/vt/.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
conmakehash
|
||||
consolemap_deftbl.c
|
||||
defkeymap.c
|
||||
/conmakehash
|
||||
/consolemap_deftbl.c
|
||||
/defkeymap.c
|
||||
|
4
fs/unicode/.gitignore
vendored
4
fs/unicode/.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
mkutf8data
|
||||
utf8data.h
|
||||
/mkutf8data
|
||||
/utf8data.h
|
||||
|
2
kernel/.gitignore
vendored
2
kernel/.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
/config_data
|
||||
kheaders.md5
|
||||
/kheaders.md5
|
||||
|
10
lib/.gitignore
vendored
10
lib/.gitignore
vendored
@ -1,6 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
gen_crc32table
|
||||
gen_crc64table
|
||||
crc32table.h
|
||||
crc64table.h
|
||||
oid_registry_data.c
|
||||
/crc32table.h
|
||||
/crc64table.h
|
||||
/gen_crc32table
|
||||
/gen_crc64table
|
||||
/oid_registry_data.c
|
||||
|
2
samples/auxdisplay/.gitignore
vendored
2
samples/auxdisplay/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
cfag12864b-example
|
||||
/cfag12864b-example
|
||||
|
3
samples/binderfs/.gitignore
vendored
3
samples/binderfs/.gitignore
vendored
@ -1 +1,2 @@
|
||||
binderfs_example
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
/binderfs_example
|
||||
|
2
samples/connector/.gitignore
vendored
2
samples/connector/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
ucon
|
||||
/ucon
|
||||
|
2
samples/hidraw/.gitignore
vendored
2
samples/hidraw/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
hid-example
|
||||
/hid-example
|
||||
|
2
samples/mei/.gitignore
vendored
2
samples/mei/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
mei-amt-version
|
||||
/mei-amt-version
|
||||
|
2
samples/nitro_enclaves/.gitignore
vendored
2
samples/nitro_enclaves/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
ne_ioctl_sample
|
||||
/ne_ioctl_sample
|
||||
|
2
samples/pidfd/.gitignore
vendored
2
samples/pidfd/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
pidfd-metadata
|
||||
/pidfd-metadata
|
||||
|
8
samples/seccomp/.gitignore
vendored
8
samples/seccomp/.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
bpf-direct
|
||||
bpf-fancy
|
||||
dropper
|
||||
user-trap
|
||||
/bpf-direct
|
||||
/bpf-fancy
|
||||
/dropper
|
||||
/user-trap
|
||||
|
2
samples/timers/.gitignore
vendored
2
samples/timers/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
hpet_example
|
||||
/hpet_example
|
||||
|
4
samples/vfs/.gitignore
vendored
4
samples/vfs/.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
test-fsmount
|
||||
test-statx
|
||||
/test-fsmount
|
||||
/test-statx
|
||||
|
3
samples/watch_queue/.gitignore
vendored
3
samples/watch_queue/.gitignore
vendored
@ -1 +1,2 @@
|
||||
watch_test
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
/watch_test
|
||||
|
2
samples/watchdog/.gitignore
vendored
2
samples/watchdog/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
watchdog-simple
|
||||
/watchdog-simple
|
||||
|
18
scripts/.gitignore
vendored
18
scripts/.gitignore
vendored
@ -1,11 +1,11 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
bin2c
|
||||
kallsyms
|
||||
unifdef
|
||||
recordmcount
|
||||
sorttable
|
||||
asn1_compiler
|
||||
extract-cert
|
||||
sign-file
|
||||
insert-sys-cert
|
||||
/asn1_compiler
|
||||
/bin2c
|
||||
/extract-cert
|
||||
/insert-sys-cert
|
||||
/kallsyms
|
||||
/module.lds
|
||||
/recordmcount
|
||||
/sign-file
|
||||
/sorttable
|
||||
/unifdef
|
||||
|
2
scripts/basic/.gitignore
vendored
2
scripts/basic/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
fixdep
|
||||
/fixdep
|
||||
|
4
scripts/dtc/.gitignore
vendored
4
scripts/dtc/.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
dtc
|
||||
fdtoverlay
|
||||
/dtc
|
||||
/fdtoverlay
|
||||
|
2
scripts/gcc-plugins/.gitignore
vendored
2
scripts/gcc-plugins/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
randomize_layout_seed.h
|
||||
/randomize_layout_seed.h
|
||||
|
2
scripts/genksyms/.gitignore
vendored
2
scripts/genksyms/.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
genksyms
|
||||
/genksyms
|
||||
|
8
scripts/mod/.gitignore
vendored
8
scripts/mod/.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
elfconfig.h
|
||||
mk_elfconfig
|
||||
modpost
|
||||
devicetable-offsets.h
|
||||
/devicetable-offsets.h
|
||||
/elfconfig.h
|
||||
/mk_elfconfig
|
||||
/modpost
|
||||
|
4
usr/.gitignore
vendored
4
usr/.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
gen_init_cpio
|
||||
initramfs_data.cpio
|
||||
/gen_init_cpio
|
||||
/initramfs_data.cpio
|
||||
/initramfs_inc_data
|
||||
|
Loading…
Reference in New Issue
Block a user