From 3bda331ba8a609cd72be8f67946e12ffe1fcf4f2 Mon Sep 17 00:00:00 2001 From: Chunwei Chen Date: Wed, 24 May 2017 15:23:37 -0700 Subject: [PATCH] Improve gitignore Exclude Makefile.in in module/ and fix the gitignore in cmd/ Also, ignore *.patch and *.orig files Signed-off-by: Chunwei Chen --- .gitignore | 2 ++ cmd/{ => splat}/.gitignore | 1 - module/.gitignore | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) rename cmd/{ => splat}/.gitignore (58%) diff --git a/.gitignore b/.gitignore index 4de02fba6..de9d87808 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,5 @@ cscope.* *.rpm *.deb *.tar.gz +*.patch +*.orig diff --git a/cmd/.gitignore b/cmd/splat/.gitignore similarity index 58% rename from cmd/.gitignore rename to cmd/splat/.gitignore index 754846b75..97325b30d 100644 --- a/cmd/.gitignore +++ b/cmd/splat/.gitignore @@ -1,2 +1 @@ -/spl /splat diff --git a/module/.gitignore b/module/.gitignore index 95e2d8cbd..907099287 100644 --- a/module/.gitignore +++ b/module/.gitignore @@ -9,3 +9,5 @@ modules.order /.tmp_versions /Module.markers /Module.symvers + +!Makefile.in