[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <7vzlnogtzv.fsf_-_@gitster.siamese.dyndns.org>
Date: Thu, 07 Aug 2008 18:45:08 -0700
From: Junio C Hamano <gitster@...ox.com>
To: Paul Mackerras <paulus@...ba.org>
Cc: linux-kernel@...r.kernel.org,
Stephen Rothwell <sfr@...b.auug.org.au>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Petr Baudis <pasky@...e.cz>,
"Shawn O. Pearce" <spearce@...arce.org>,
Johannes Schindelin <Johannes.Schindelin@....de>
Subject: [PATCH] powerpc: Do not ignore arch/powerpc/include
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@...ox.com>
---
Junio C Hamano <gitster@...ox.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists