mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.m@jp.panasonic.com>
To: barebox@lists.infradead.org
Subject: [PATCH 2/5] gitignore: move "barebox_default_env*" to subdirectory
Date: Thu, 29 Jan 2015 11:27:53 +0900	[thread overview]
Message-ID: <1422498476-28986-3-git-send-email-yamada.m@jp.panasonic.com> (raw)
In-Reply-To: <1422498476-28986-1-git-send-email-yamada.m@jp.panasonic.com>

"barebox_default_env*" is not "Top-level generic files" because they
are generated in the defaultenv/ directory since commit 7fa10256c3f4
(defaultenv: Allow multiple defaultenvironment overlays).

The comment block of the top-level .gitignore says as follows:

  # NOTE! Don't add files that are generated in specific
  # subdirectories here. Add them in the ".gitignore" file
  # in that subdirectory instead.

Let's follow this rule.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 .gitignore            | 1 -
 defaultenv/.gitignore | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
 create mode 100644 defaultenv/.gitignore

diff --git a/.gitignore b/.gitignore
index a71d814..4f8769a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,7 +34,6 @@ TAGS
 /barebox*
 System.map
 Module.symvers
-barebox_default_env*
 
 #
 # git files that we don't want to ignore even it they are dot-files
diff --git a/defaultenv/.gitignore b/defaultenv/.gitignore
new file mode 100644
index 0000000..40e90d7
--- /dev/null
+++ b/defaultenv/.gitignore
@@ -0,0 +1 @@
+barebox_default_env*
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2015-01-29  2:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29  2:27 [PATCH 0/5] Refactor .gitignore and Makefile Masahiro Yamada
2015-01-29  2:27 ` [PATCH 1/5] gitignore: simplify .gitignore file with pattern "/barebox*" Masahiro Yamada
2015-01-29  2:27 ` Masahiro Yamada [this message]
2015-01-29  2:27 ` [PATCH 3/5] gitignore: sync with Linux's .gitignore Masahiro Yamada
2015-01-29  2:27 ` [PATCH 4/5] kbuild: simplify CLEAN_FILES with pattern "barebox*" Masahiro Yamada
2015-01-29  8:42   ` Sascha Hauer
2015-01-29  2:27 ` [PATCH 5/5] kbuild: drop bogus "common/barebox_default_env*" from CLEAN_FILES Masahiro Yamada

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=1422498476-28986-3-git-send-email-yamada.m@jp.panasonic.com \
    --to=yamada.m@jp.panasonic.com \
    --cc=barebox@lists.infradead.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