git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: why does git perpetually complain about include/asm-blackfin/macros.h?

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jul 2, 2007, 14:22 UTC
Message-ID
<81b0412b0707020722q25e8eb41t456e7316fe4a7b40@mail.gmail.com>
In-Reply-To
<4689073D.1020802@garzik.org>
On 7/2/07, Jeff Garzik <jeff@garzik.org> wrote:
Show 24 quoted lines
> Jesper Juhl wrote:
> > On 02/07/07, Jeff Garzik <jeff@garzik.org> wrote:
> >> 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.
> >>
> > 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...

Previous: Robert P. J. DayNext: Alex Riesen
Message 5 of 14 in “Re: why does git perpetually complain about include/asm-blackfin/macros.h?”
  1. Jeff GarzikJul 2, 2007
  2. Jesper JuhlJul 2, 2007
  3. Jeff GarzikJul 2, 2007
  4. Robert P. J. DayJul 2, 2007
  5. Alex RiesenJul 2, 2007
  6. Alex RiesenJul 2, 2007
  7. Marco RoelandJul 2, 2007
  8. Blackfin arch: include/asm-blackfin/macros.h die die dieMarco Roeland, Jul 2, 2007
  9. Bryan WuJul 3, 2007
  10. Jeff GarzikJul 2, 2007
  11. Sam RavnborgJul 14, 2007
  12. Marco RoelandJul 2, 2007
  13. Bryan WuJul 3, 2007
  14. Linus TorvaldsJul 2, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.