summaryrefslogtreecommitdiff
path: root/samples/pidfd
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2021-04-30 11:03:08 +0900
committerMasahiro Yamada <[email protected]>2021-05-02 00:43:35 +0900
commit9009b455811b0fa1f6b0adfa94db136984db5a38 (patch)
treeebe313301423019e596073d3c14d86ef91ddae94 /samples/pidfd
parent77a88274dc1a2cf3a775161d9a3242bc798ee680 (diff)
.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 <[email protected]> Acked-by: Miguel Ojeda <[email protected]> Acked-by: Rob Herring <[email protected]> Acked-by: Andra Paraschiv <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Gabriel Krisman Bertazi <[email protected]>
Diffstat (limited to 'samples/pidfd')
-rw-r--r--samples/pidfd/.gitignore2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/pidfd/.gitignore b/samples/pidfd/.gitignore
index eea857fca736..d4cfa3176b1b 100644
--- a/samples/pidfd/.gitignore
+++ b/samples/pidfd/.gitignore
@@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
-pidfd-metadata
+/pidfd-metadata