Re: why does git perpetually complain about include/asm-blackfin/macros.h?
From: Alex Riesen <hidden>
Date: 2007-07-02 14:22:21
Also in:
lkml
On 7/2/07, Jeff Garzik [off-list ref] wrote:
Jesper Juhl wrote:quoted
On 02/07/07, Jeff Garzik [off-list ref] wrote:quoted
Robert P. J. Day wrote:quoted
for the umpteenth time, after doing a pull, i see this: $ git diffdiff --git a/include/asm-blackfin/macros.hb/include/asm-blackfin/macros.hquoted
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.I've seen that as well, but in my case doing a $ git reset --hard master fixed it.Sure. git checkout -f fixes it too. But then it reappears the every time I switch branches.
Do some of your branches miss the commit by which it was removed? (It was removed in df30b1171714bbf0e55ffe02138be4b8447e4235) Than it will reappear every time you switch to a branch which still has the file. It is somewhat unclear what "reappear" means, though: do you mean in your working directory (that's what I explained above) or do you mean: on the commit pointed by HEAD? In that second case I can only suspect that all your branches point at the same commit, which is just before the one the file was removed in...