Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Egit seems to be losing its mind
Egit seems to be losing its mind [message #1864704] Wed, 03 April 2024 17:19
Eclipse UserFriend
I've been working with git repos in Eclipse using egit for quite a while. I'm now on v2024-03. Today I've been seeing some odd errors in egit that I've never seen before, on repositories that I've done a lot of work on.

I saw some error that I didn't understand, so I decided to simply delete the project I had imported from the repo, and then I deleted the repo. I then recloned it to my desktop. That checked out "master" by default. I then switched to another branch (a release branch) from Eclipse and did a "Pull" to ensure that branch was up to date. I then selected "Switch To" again and selected "New Branch". I entered a new branch name.

I then looked at the entry in the repositories view and in the staging view. It still thought I had the release branch checked out. I then selected "Switch To" again and navigated to the menu where it shows the other branches, and it had my new branch checked and greyed out, proving that that was my current branch, and not the release branch.

I also went to the shell and ran "git status", and it showed that I was on my new branch, not the release branch.

I then imported the project from the repo, and the annotations in the project explorer also agree with the repositories view and the staging view, all of them wrong.

I can click on other repositories in the repositories view, and it will update the staging view with the correct info for that repository, and I can click back on the repository I just cloned, and it still shows the release branch, in both the repositories view and the staging view.

I then checked the error log, and there were some unrelated errors for other projects, nothing about this project, and nothing releated to egit.

I guess I'm going to back off to an older version of Eclipse (2023-09) to see whether it is sane.
Previous Topic:Customizing GitFlow
Next Topic:Few questions about "cherry-pick" feature
Goto Forum:
  


Current Time: Sat May 24 11:50:56 EDT 2025

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

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

Back to the top