[PATCH] powerpc: Do not ignore arch/powerpc/include

From: Junio C Hamano
Date: Thu Aug 07 2008 - 21:45:36 EST


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@xxxxxxxxx>
---
Junio C Hamano <gitster@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/