From 952e490b1b243c1203fe94f4614ab1e46a52237d Mon Sep 17 00:00:00 2001 From: Chunwei Chen Date: Wed, 24 May 2017 15:56:10 -0700 Subject: [PATCH] Improve gitignore Ignore .*.d and exclude Makefile.in in module/ Also, ignore *.patch and *.orig files Signed-off-by: Chunwei Chen --- .gitignore | 2 ++ module/.gitignore | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 1eb3b9b4d7..318a434341 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,5 @@ cscope.* *.rpm *.deb *.tar.gz +*.patch +*.orig diff --git a/module/.gitignore b/module/.gitignore index 932ce5c4f0..f81bf6e6d6 100644 --- a/module/.gitignore +++ b/module/.gitignore @@ -4,7 +4,10 @@ *.ko.out.sig *.dwo .*.cmd +.*.d /.tmp_versions /Module.markers /Module.symvers + +!Makefile.in