[PATCH] .gitignore: Simplify Git ignoring generated directories.

Robert P. J. Day rpjday at crashcourse.ca
Wed Apr 29 11:24:37 EDT 2015


Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

  am i correct in assuming that this change, first of all, makes it
clear that only directories are involved and, also, that one can
simply ignore all directories with the name "generated"?

diff --git a/.gitignore b/.gitignore
index 4ad4a98..9301b0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -68,9 +68,8 @@ Module.symvers
 #
 # Generated include files
 #
-include/config
-include/generated
-arch/*/include/generated
+include/config/
+generated/

 # stgit generated dirs
 patches-*

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the Kernelnewbies mailing list