.gitignore: prefix local generated files with a slash
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 30 Apr 2021 02:03:08 +0000 (11:03 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 1 May 2021 15:43:35 +0000 (00:43 +0900)
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>
27 files changed:
Documentation/devicetree/bindings/.gitignore
arch/.gitignore
certs/.gitignore
drivers/memory/.gitignore
drivers/tty/vt/.gitignore
fs/unicode/.gitignore
kernel/.gitignore
lib/.gitignore
samples/auxdisplay/.gitignore
samples/binderfs/.gitignore
samples/connector/.gitignore
samples/hidraw/.gitignore
samples/mei/.gitignore
samples/nitro_enclaves/.gitignore
samples/pidfd/.gitignore
samples/seccomp/.gitignore
samples/timers/.gitignore
samples/vfs/.gitignore
samples/watch_queue/.gitignore
samples/watchdog/.gitignore
scripts/.gitignore
scripts/basic/.gitignore
scripts/dtc/.gitignore
scripts/gcc-plugins/.gitignore
scripts/genksyms/.gitignore
scripts/mod/.gitignore
usr/.gitignore

index 3a05b99bfa266f4f158617e9660551748431b554..a77719968a7e1a71f8b3e87b8e1ede10b2a4ea1b 100644 (file)
@@ -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
index 4191da401dbbff0ea5546b2d269dc1e9fc0824cd..756c19c34f99d2cbf0343dbe36d6a80c2507e75d 100644 (file)
@@ -1,3 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
-i386
-x86_64
+/i386/
+/x86_64/
index 6cbd1f1a5837b2b61552a5084e08873abab5cb34..8c3763f80be3882ed80e73d536949dee050045f2 100644 (file)
@@ -1,3 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
-x509_certificate_list
-x509_revocation_list
+/x509_certificate_list
+/x509_revocation_list
index caedc4c7d2dbe98140eaa36d482fed77d95f1f87..5e84bee05ef8ffe84e0e0e28ef20afff14353bb2 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-ti-emif-asm-offsets.h
+/ti-emif-asm-offsets.h
index 3ecf42234d89c225d9244697c39b292dc990d86c..0221709b177dff75d2e739958a247d41649f2b1f 100644 (file)
@@ -1,4 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0
-conmakehash
-consolemap_deftbl.c
-defkeymap.c
+/conmakehash
+/consolemap_deftbl.c
+/defkeymap.c
index 9b2467e77b2d8de74e7d714e5c46d41410186fe4..361294571ab0b67ee84a02ca221569a5e7eeb874 100644 (file)
@@ -1,3 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
-mkutf8data
-utf8data.h
+/mkutf8data
+/utf8data.h
index dafdce3d18c5e8312cf69d0a25bbe81455fef3b1..c6b299a6b7866dab567744edd0c09f3c918d9a1e 100644 (file)
@@ -1,3 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
 /config_data
-kheaders.md5
+/kheaders.md5
index 327cb2c7f2c92b4d6da3375341931e0cfdd77f8d..5e7fa54c4536620abb41400101c5b28231e38664 100644 (file)
@@ -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
index 2ed744c0e7416e083dc70decf00ef33ea76fb154..d023816849bd63f988becf00df4c827d669888db 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-cfag12864b-example
+/cfag12864b-example
index eb60241e8087dcd1233650d3b7dd0b300be70648..8fa415a3640b09351a6cbc45e081432c1a2ba39c 100644 (file)
@@ -1 +1,2 @@
-binderfs_example
+# SPDX-License-Identifier: GPL-2.0
+/binderfs_example
index d86f2ff9c947925eac3af44c72f80170d7aa666f..0e26039f39b5ed958253725d1c7bd8a8567c2ef4 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-ucon
+/ucon
index d7a6074ebcf932983b862b256350be210e8b190b..5233ab63262efb20551a932e2bde3d46204df9f1 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-hid-example
+/hid-example
index db5e802f041e67b602bdaaf4a69b50184d78bf2d..fe894bcb6a62ddfeca7cad8d47a99a830bbf9137 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-mei-amt-version
+/mei-amt-version
index 827934129c901e26dc2ba8064438867b2947030a..6a718eec71f4ad2adaf70e81536c41185b4a1a0e 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0
-ne_ioctl_sample
+/ne_ioctl_sample
index eea857fca736d54fee606bf56b57152787a6fe80..d4cfa3176b1b5d34aedc2b3376588573459cc519 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-pidfd-metadata
+/pidfd-metadata
index 4a5a5b7db30b4c0ea27186caf73e03d6f7e5001c..a6df0da77c5d1d2ba5bba4898b7efa9f11fb6c5d 100644 (file)
@@ -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
index 40510c33cf08b38c42e7bf6e9f2b2a976db22c3d..cd9ff7b953830494ea33e2a2ecd65c4805482ecd 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-hpet_example
+/hpet_example
index 8fdabf7e53735f4674987355961eadc3060b58b0..79212d91285bca72b0ff85f28aaccd2e803ac092 100644 (file)
@@ -1,3 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
-test-fsmount
-test-statx
+/test-fsmount
+/test-statx
index 2aa3c7e56a1ad164c4284287c3fe2b348f89641f..823b351d3db988c77e432e67c7988a8d1fadb674 100644 (file)
@@ -1 +1,2 @@
-watch_test
+# SPDX-License-Identifier: GPL-2.0-only
+/watch_test
index 74153b831244c6a530fd854e91347911ef58e8af..a70a0150ed9f3b2c96f7d86e20bad49f084b9adc 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-watchdog-simple
+/watchdog-simple
index a6c11316c9696751b12e3f0b9157d58a8233f613..e83c620ef52ca8cba97d3cbbba2a75e7c31c047e 100644 (file)
@@ -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
index 98ae1f509592b6244f275a96e72ed5dc07b1bd4a..961c91c8a884614a852e620346b6346ecbd4b1a1 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-fixdep
+/fixdep
index 8a8b62bf3d3c880a6073fd6ffd4850ed95af2382..e0b5c1d2464a788c729702a4a1e0532c132c05b0 100644 (file)
@@ -1,3 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
-dtc
-fdtoverlay
+/dtc
+/fdtoverlay
index b04e0f0f033e461cd50ba7f2edffaf1eed751853..5cc385b9eb97bb46730cf7c0550d7de4697a11a1 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-randomize_layout_seed.h
+/randomize_layout_seed.h
index 999af710f83d336be6ae72db29ac56502f8ea9a2..0b275abf9405f70c146bb0b7f195732ad1621fd1 100644 (file)
@@ -1,2 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0-only
-genksyms
+/genksyms
index 07e4a39f90a6ab81a3caaa32ce77bb7bf5b3d8b2..0465ec33c9bfd157f5876cea792f22178cd9a5a0 100644 (file)
@@ -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
index 935442ed1eb2564cbbd8505df8c702ce9ce33b38..8996e7a889024fbb13511a22743a2bff01c896f1 100644 (file)
@@ -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