kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] .gitignore: Simplify Git ignoring generated directories.
@ 2015-04-29 15:24 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2015-04-29 15:24 UTC (permalink / raw)
  To: kernelnewbies


Signed-off-by: Robert P. J. Day <rpjday@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
========================================================================

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-29 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 15:24 [PATCH] .gitignore: Simplify Git ignoring generated directories Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).