[lkml]   [2008]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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 <>
Junio C Hamano <> 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 @@

 \ /
  Last update: 2008-08-08 03:47    [W:0.049 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site