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