summaryrefslogtreecommitdiffstats
path: root/lib/.gitignore
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-04-30 04:03:08 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2021-05-01 17:43:35 +0200
commit9009b455811b0fa1f6b0adfa94db136984db5a38 (patch)
treeebe313301423019e596073d3c14d86ef91ddae94 /lib/.gitignore
parentkbuild: replace LANG=C with LC_ALL=C (diff)
downloadlinux-9009b455811b0fa1f6b0adfa94db136984db5a38.tar.xz
linux-9009b455811b0fa1f6b0adfa94db136984db5a38.zip
.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>
Diffstat (limited to 'lib/.gitignore')
-rw-r--r--lib/.gitignore10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/.gitignore b/lib/.gitignore
index 327cb2c7f2c9..5e7fa54c4536 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -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