Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Re-indexing even though "Refresh when index changes" is off
Re-indexing even though "Refresh when index changes" is off [message #1041097] Sun, 14 April 2013 12:14 Go to next message
Eclipse UserFriend
egit 2.3.1 keeps re-indexing a git repository. It burns a lot of CPU, and never completes.

Re-indexing seems to be triggered on every save (even to files on completely different files systems).

- I've unchecked "Refresh resources when index changes"
- I have no open projects that use that repository.

I believe egit is mistakenly identifying projects in .gitignored subdirectories as belonging to the parent repository.

How do I stop it?

- Phil
Re: Re-indexing even though "Refresh when index changes" is off [message #1042709 is a reply to message #1041097] Tue, 16 April 2013 15:32 Go to previous messageGo to next message
Eclipse UserFriend
Philip Aston skrev 2013-04-15 17.35:
> egit 2.3.1 keeps re-indexing a git repository. It burns a lot of CPU, and never completes.
>
> Re-indexing seems to be triggered on every save (even to files on completely different files systems).
> - I've unchecked "Refresh resources when index changes"
> - I have no open projects that use that repository.
>
> I believe egit is mistakenly identifying projects in .gitignored subdirectories as belonging to the parent repository.

Sounds likely. Can you report this to bugs.eclipse.org (I did not check if this is reported), but I know
there is something relating to not completely ignoring .ignored folders (it scans and /then/ ignores).

> How do I stop it?

The nightly builds might be better (faster), causing less problem if you have many repositories, but the
basic issue is mostly likely still there.

-- robin
Re: Re-indexing even though "Refresh when index changes" is off [message #1042792 is a reply to message #1042709] Tue, 16 April 2013 18:14 Go to previous message
Eclipse UserFriend
Thanks Robin. I've opened Bug 405833.

Fortunately (for me), the problem has gone away. I think this is because I de-selected "Auto share projects located in a git repository", but I can't be sure. I'll continue to try to trigger the problem, and report any "success" against 405833.
Previous Topic:push readme.
Next Topic:grep with jgit
Goto Forum:
  


Current Time: Tue Jul 08 03:48:56 EDT 2025

Powered by FUDForum. Page generated in 0.22304 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top