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
Sam Ravnborg <sam@ravnborg.org>
Date
Jul 14, 2007, 07:45 UTC
Message-ID
<20070714074558.GA8047@uranus.ravnborg.org>
In-Reply-To
<46890DA8.4070400@garzik.org>
On Mon, Jul 02, 2007 at 10:37:28AM -0400, Jeff Garzik wrote:
Show 45 quoted lines
> Alex Riesen wrote:
> >Do some of your branches miss the commit by which it was removed?
> 
> git-clone followed by git-checkout master recreates the problem.
> 
> But to answer your question directly, I rebase, so they absolutely do 
> not miss any commits.
> 
> 
> >It is somewhat unclear what "reappear" means, though: do you mean
> 
> Attempts to give you precise output to answer your question yielded a 
> data point, the kernel's "make distclean" causes this:
> 
> [jgarzik@pretzel linux-2.6]$ make distclean && git checkout master && 
> git diff HEAD
> D       include/asm-blackfin/macros.h
> Switched to branch "master"
> diff --git a/include/asm-blackfin/macros.h b/include/asm-blackfin/macros.h
> deleted file mode 100644
> index e69de29..0000000
> 
> [jgarzik@pretzel linux-2.6]$ git checkout -f
> 
> [jgarzik@pretzel linux-2.6]$ make distclean && git checkout master && 
> git diff HEAD
> D       include/asm-blackfin/macros.h
> Switched to branch "master"
> diff --git a/include/asm-blackfin/macros.h b/include/asm-blackfin/macros.h
> deleted file mode 100644
> index e69de29..0000000
> 
> [jgarzik@pretzel linux-2.6]$ git checkout -f
> 
> [jgarzik@pretzel linux-2.6]$ git checkout master && git diff 
> HEADSwitched to branch "master"
> 
> [jgarzik@pretzel linux-2.6]$ git checkout master && git diff HEAD
> Switched to branch "master"
> 
> [jgarzik@pretzel linux-2.6]$
> 
> 
> So, not a git problem but a kernel Makefile problem.  Sorry for the git 
> noise.

distclean on purpose delete zero size files. And the kernel tree shall not contain such files - if it does it is a bug.

So I do not see a 'problem' with the kernel makefile but instead a problem with the kernel tree wich is about to be fixed.

Agree?
	Sam
Previous: Jeff GarzikNext: Marco Roeland
Message 11 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.