Hello,
It could be related with how nbgit status scan results are cached on
disk and causes this stale information to be displayed. Can you try to
delete .netbeans/6.7/var/cache/gitcache/ and see if this fixes it?
--
Jonas Fonseca
Thanks for testing this. It should affect all platforms. Question is
if the caching can simply be ripped out. It is my understanding that
the code originates all the way back to the CVS plugin and has then
just been copied to SVN and Mercurial and finally nbgit. In terms of
caching file status information, git has the index, which should be
superior in many aspects. Furthermore, not having two layers of cache
to refresh (.git/index and gitcache) would also make nbgit work much
better with using git from the terminal, I think.. Hope to get some
free time to look into that soon.
> Also, I have found that if you modify the .gitignore file in Netbeans,
> and then revert those changes, git from the command line will indicate
> a clean working directory, however, git status in Netbeans is
> saying .gitignore has been modified. Restarting Netbeans will clear
> out that modified status.
I don't know if this could be the same thing. At least I am starting
to be convinced that gitcache should be ripped out for good.
--
Jonas Fonseca