Re: why does git perpetually complain about include/asm-blackfin/macros.h?
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jul 2, 2007, 15:36 UTC
- Message-ID
- <alpine.LFD.0.98.0707020834310.9434@woody.linux-foundation.org>
- In-Reply-To
- <4688EF9B.8020405@garzik.org>
On Mon, 2 Jul 2007, Jeff Garzik wrote:
Show 12 quoted lines
> Robert P. J. Day wrote: > > for the umpteenth time, after doing a pull, i see this: > > > > $ git diff > > diff --git a/include/asm-blackfin/macros.h b/include/asm-blackfin/macros.h > > deleted file mode 100644 > > index e69de29..0000000 > > $ > > I have the same problem. git 1.5.0.6 on Fedora Core 5 or 6. > > I even tried a completely fresh clone, but the problem still appears.
Git complains for a very simple reason: that file is an empty file, and "make clean" removes all zero-sized files.
So whenever anybody does a "make clean" (maybe it's "make distclean", I forget), you will have removed the empty file, and git will show it as a diff.
We probably should just remove the file from the kernel archive.
Linus