mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Paul Mackerras <paulus@samba.org>
Cc: linux-kernel@vger.kernel.org,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Petr Baudis <pasky@suse.cz>,
	"Shawn O. Pearce" <spearce@spearce.org>,
	Johannes Schindelin <Johannes.Schindelin@gmx.de>
Subject: [PATCH] powerpc: Do not ignore arch/powerpc/include
Date: Thu, 07 Aug 2008 18:45:08 -0700	[thread overview]
Message-ID: <7vzlnogtzv.fsf_-_@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <7vk5etjozt.fsf@gitster.siamese.dyndns.org> (Junio C. Hamano's message of "Wed, 06 Aug 2008 23:52:38 -0700")

Back when .gitignore file was added to arch/powerpc/ in 06f2138 ([POWERPC]
Add files build to .gitignore, 2006-11-26), there indeed was nothing
tracked in the ignored hierarchy and ignoring everything made sense.  But
we have very many tracked files there these days, and having a higher
level .gitignore that ignores everything is asking for future troubles..

This should have been part of b8b572e (powerpc: Move include files to
arch/powerpc/include/asm, 2008-08-01).

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
  Junio C Hamano <gitster@pobox.com> writes:

  > By the way, if anybody wants to reproduce this, be careful with the
  > tests that run "rm -f .git/index" before adding everything with
  > "git add ."  from the toplevel directory.  After doing so, if you check
  > the result with "git diff --stat HEAD", you will notice many missing files;
  > I almost got a heart attack before inspecting this file:
  >
  > 	$ cat arch/powerpc/.gitignore
  >         include
  >
  > Yes, it excludes 261 already tracked files.  Is it intended?  I dunno.

  I looked at this a bit more and now I know this was not intended.

 arch/powerpc/.gitignore |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/.gitignore b/arch/powerpc/.gitignore
deleted file mode 100644
index a1a869c..0000000
--- a/arch/powerpc/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-include


       reply	other threads:[~2008-08-08  1:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080721002354.GK10151@machine.or.cz>
     [not found] ` <20080721002508.26773.92277.stgit@localhost>
     [not found]   ` <7v8wvpm9cl.fsf@gitster.siamese.dyndns.org>
     [not found]     ` <7vej5543v5.fsf_-_@gitster.siamese.dyndns.org>
     [not found]       ` <alpine.LFD.1.10.0808041719380.3299@nehalem.linux-foundation.org>
     [not found]         ` <7vk5etjozt.fsf@gitster.siamese.dyndns.org>
2008-08-08  1:45           ` Junio C Hamano [this message]
2008-08-08  3:13             ` Stephen Rothwell

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=7vzlnogtzv.fsf_-_@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pasky@suse.cz \
    --cc=paulus@samba.org \
    --cc=sfr@canb.auug.org.au \
    --cc=spearce@spearce.org \
    --cc=torvalds@linux-foundation.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

all inboxes | Powered by JetHome®