From 1f53ebb4995bedbada2a5589107ffcb434f8660a Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Thu, 7 Jun 2018 12:34:41 +0200 Subject: [PATCH] Tiny fix for .gitignore The expression `**.xxx` doesn't make sense because '**' makes sense only for directories. Since `*.xxx` is relative it already applies for all files in all directories with the specified extension. Little background: git actually ignores that, but ripgrep throws a warning about it so when looking for something I always get 4 lines of warnings. Even though they are harmless, they are pretty annoying. Signed-off-by: Martin Kletzander --- .gitignore | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 85f67442726e..c5c684f0e146 100644 --- a/.gitignore +++ b/.gitignore @@ -19,10 +19,10 @@ hack/gen-swagger-doc/*.adoc hack/gen-swagger-doc/*.md hack/gen-swagger-doc/html5 cluster/local/certs -**.swp -**.pem -**.crt -**.csr +*.swp +*.pem +*.crt +*.csr _out vendor/**/*_test.go **/polarion.xml