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

Re: [PATCH] fix compare symlink against readlink not data

From
Linus Torvalds <torvalds@osdl.org>
Date
May 6, 2005, 17:11 UTC
Message-ID
<Pine.LNX.4.58.0505061009340.2233@ppc970.osdl.org>
In-Reply-To
<20050506163603.GA17766@kroah.com>
On Fri, 6 May 2005, Greg KH wrote:
Show 5 quoted lines
> 
> Odd.  If I reclone the whole tree from the udev kernel.org tree, then it
> works just fine.  If I create a new copy of my local tree, I still have
> the same problem.  Diffing the trees shows no difference in the objects
> at all...
You've not updated your cache.
Guys, remember this command:
	git-diff-files

Just like that, with no arguments. It shows you what is different in your cache. If you get a lot of output, it means that your index file isn't up-to-date.

The other magic command is
	git-update-cache --refresh
and you need to do that after you merge.

If you use cogito, and cogito doesn't refresh after pulls etc, that would be a cogito bug. But if you do things like "cp -a" of a git tree, and you forget to refresh the cache in the new tree, than that is _your_ bug..

		Linus
Previous: Kay SieversNext: Greg KH
Message 6 of 9 in “fix compare symlink against readlink not data”
  1. fix compare symlink against readlink not dataKay Sievers, May 6, 2005
  2. Greg KHMay 6, 2005
  3. Kay SieversMay 6, 2005
  4. Greg KHMay 6, 2005
  5. Kay SieversMay 6, 2005
  6. Linus TorvaldsMay 6, 2005
  7. Greg KHMay 6, 2005
  8. Junio C HamanoMay 6, 2005
  9. Greg KHMay 6, 2005

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.