Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse 2023-12 GIT Issue(Eclipse 2023-12 GIT Repository gets removed from view after every eclipse restart)
Eclipse 2023-12 GIT Issue [message #1863421] Thu, 01 February 2024 13:34 Go to next message
Nikhil Singh is currently offline Nikhil SinghFriend
Messages: 17
Registered: January 2020
Junior Member
Eclipse 2023-12 GIT Repository gets removed from view after every eclipse restart.

1. Open eclipse
2. open GIT view
3. clone a git repository
4. Clone URI
5. Restart Eclipse
6. check GIT view repository is removed from view. it is still present in folder but gone rom eclipse view.

eclipse automatically updating GIT preferences:

!ENTRY org.eclipse.oomph.setup.ui 1 0 2024-02-01 19:02:18.371
!MESSAGE Setup tasks were performed during startup updating 5 preferences. See 'eclipse\configuration\org.eclipse.oomph.setup\setup.log' for details

[2024-02-01 19:02:17] Bundle org.eclipse.oomph.setup 1.28.0.v20231119-1528, build=329, branch=ce29403a7d4aa58696a4ca86279095fb306631c6
[2024-02-01 19:02:17] Bundle org.eclipse.oomph.setup.core 1.29.0.v20231119-1541, build=329, branch=ce29403a7d4aa58696a4ca86279095fb306631c6
[2024-02-01 19:02:17] Bundle org.eclipse.oomph.setup.p2 1.20.0.v20230617-1322, build=329, branch=ce29403a7d4aa58696a4ca86279095fb306631c6
[2024-02-01 19:02:18] Performing Preference /instance/org.eclipse.egit.core/GitRepositoriesView.GitDirectories = <some random path that does not even exist>\.git;
[2024-02-01 19:02:18] Performing Preference /instance/org.eclipse.egit.core/GitRepositoriesView.GitDirectories.relative = <some random path that does not even exist>\.git;
[2024-02-01 19:02:18]
Re: Eclipse 2023-12 GIT Issue [message #1863432 is a reply to message #1863421] Fri, 02 February 2024 06:05 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
It sounds like you've recorded some preferences that are best not recorded. Use Navigate -> Open Setup -> User. Look for the node named "User Preference". Delete anything under there that you don't want/need and save.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse 2023-12 GIT Issue [message #1863433 is a reply to message #1863432] Fri, 02 February 2024 09:17 Go to previous messageGo to next message
Nikhil Singh is currently offline Nikhil SinghFriend
Messages: 17
Registered: January 2020
Junior Member
It worked :) Thanks a lot for super quick help.
1 more querry, how and from where org.eclipse.egit.core/GitRepositoriesView.GitDirectories/GitRepositoriesView.GitDirectories.relative value is populated. I was pointing to a which which was not even existing.
As I deleted this setting, it affected all the eclipses(have around 10 different version eclipse setups).
Re: Eclipse 2023-12 GIT Issue [message #1863435 is a reply to message #1863432] Fri, 02 February 2024 09:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
I don't know how that's implemented by EGit. I'm only the one who implemented the preference recorder which just listens to the state of the preference node tree and offers to record the changes so that they can be applied to all workspaces. It's not smart enough to know what any specific preference means and whether it makes sense to record it. It's even possible that some preferences are set the first time you visit a page but aren't actually visible on the page. That's why there is a little light bulb icon to visit all the pages before changing anything.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse 2023-12 GIT Issue [message #1863436 is a reply to message #1863435] Fri, 02 February 2024 10:27 Go to previous messageGo to next message
Nikhil Singh is currently offline Nikhil SinghFriend
Messages: 17
Registered: January 2020
Junior Member
OK, thanks a lot for the help. :)
Re: Eclipse 2023-12 GIT Issue [message #1863483 is a reply to message #1863436] Mon, 05 February 2024 05:17 Go to previous messageGo to next message
Nikhil Singh is currently offline Nikhil SinghFriend
Messages: 17
Registered: January 2020
Junior Member
This path it was picking up configurations for all eclipses. Not sure how egit core value added here.
C:\Users\<user-id>\.eclipse\org.eclipse.oomph.setup\setups\user.setup
Re: Eclipse 2023-12 GIT Issue [message #1863850 is a reply to message #1863483] Fri, 01 March 2024 10:30 Go to previous message
han nana is currently offline han nanaFriend
Messages: 1
Registered: March 2024
Junior Member
Nikhil Singh wrote on Mon, 05 February 2024 05:17
This path it was picking up configurations for all eclipses. Not sure how egit core value added here.
C:\Users\<user-id>\.eclipse\org.eclipse.oomph.setup\setups\user.setup

Is there another value that can replace it?
Previous Topic:LML Monitor Job has encountered a problem
Next Topic:Unable to run parallel debugger on remote server
Goto Forum:
  


Current Time: Sun Apr 28 07:56:12 GMT 2024

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

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

Back to the top