summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-04-30 05:03:08 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-05-01 18:43:35 +0300
commit9009b455811b0fa1f6b0adfa94db136984db5a38 (patch)
treeebe313301423019e596073d3c14d86ef91ddae94 /arch
parent77a88274dc1a2cf3a775161d9a3242bc798ee680 (diff)
downloadlinux-9009b455811b0fa1f6b0adfa94db136984db5a38.tar.xz
.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 'arch')
-rw-r--r--arch/.gitignore4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/.gitignore b/arch/.gitignore
index 4191da401dbb..756c19c34f99 100644
--- a/arch/.gitignore
+++ b/arch/.gitignore
@@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
-i386
-x86_64
+/i386/
+/x86_64/