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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Paul Mackerras <paulus@...>
Cc: <linux-kernel@...>, Stephen Rothwell <sfr@...>, Linus Torvalds <torvalds@...>, Petr Baudis <pasky@...>, Shawn O. Pearce <spearce@...>, Johannes Schindelin <Johannes.Schindelin@...>
Date: Thursday, August 7, 2008 - 9:45 pm

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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] powerpc: Do not ignore arch/powerpc/include, Junio C Hamano, (Thu Aug 7, 9:45 pm)
Re: [PATCH] powerpc: Do not ignore arch/powerpc/include, Stephen Rothwell, (Thu Aug 7, 11:13 pm)