From: rpjday@crashcourse.ca (Robert P. J. Day)
To: kernelnewbies@lists.kernelnewbies.org
Subject: [PATCH] .gitignore: Simplify Git ignoring generated directories.
Date: Wed, 29 Apr 2015 11:24:37 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.11.1504291122520.1299@localhost> (raw)
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
========================================================================
reply other threads:[~2015-04-29 15:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.11.1504291122520.1299@localhost \
--to=rpjday@crashcourse.ca \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).