Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » all github/gitlab java projects become "NO_HEAD" after upgrade git plugin
all github/gitlab java projects become "NO_HEAD" after upgrade git plugin [message #1848873] Wed, 22 December 2021 02:08 Go to next message
xuegui zhang is currently offline xuegui zhangFriend
Messages: 1
Registered: December 2021
Junior Member
All java projects is ok before upgrading git plugin

After upgrading the git plugin , all github/gitlab java projects become "NO_HEAD"
index.php/fa/41481/0/
index.php/fa/41482/0/

How to fix?
Re: all github/gitlab java projects become "NO_HEAD" after upgrade git plugin [message #1848905 is a reply to message #1848873] Wed, 22 December 2021 22:00 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 576
Registered: August 2016
Senior Member
I cannot reproduce this. Which EGit version did you upgrade from?
Re: all github/gitlab java projects become "NO_HEAD" after upgrade git plugin [message #1848917 is a reply to message #1848905] Thu, 23 December 2021 14:01 Go to previous messageGo to next message
Terry Bauer is currently offline Terry BauerFriend
Messages: 8
Registered: August 2020
Junior Member
I am experiencing the same issue. After installing this update all local repositories become disconnected from Eclipse and [NO-HEAD] is shown in every project. Remote repositories are still showing and connected.
Re: all github/gitlab java projects become "NO_HEAD" after upgrade git plugin [message #1848918 is a reply to message #1848917] Thu, 23 December 2021 15:22 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 576
Registered: August 2016
Senior Member
@Terry: also on Windows? And what version of EGit did you upgrade from? Where are your git repositories located in the file system? Inside the Eclipse workspace, or outside?
Re: all github/gitlab java projects become "NO_HEAD" after upgrade git plugin [message #1848927 is a reply to message #1848918] Thu, 23 December 2021 22:01 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 576
Registered: August 2016
Senior Member
Can reproduce now. Seems to be Windows-specific, and only with EGit nightly (6.1.x). EGit 6.0.x is fine; EGit nightly on OS X is fine, too. Manual restart of Eclipse doesn't help.

Also appears to affect all repositories, not just clones from Gitlab/Github. I also see it for a local repository.

Given that no changes in any related area occurred in EGit since 6.0, I guess some change in JGit causes this. Investigating...

[Updated on: Thu, 23 December 2021 22:44]

Report message to a moderator

Re: all github/gitlab java projects become "NO_HEAD" after upgrade git plugin [message #1848929 is a reply to message #1848927] Thu, 23 December 2021 23:53 Go to previous messageGo to next message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 576
Registered: August 2016
Senior Member
I've opened bug 577954 for this. It is a JGit problem.
Re: all github/gitlab java projects become "NO_HEAD" after upgrade git plugin [message #1848962 is a reply to message #1848929] Mon, 27 December 2021 09:24 Go to previous message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 576
Registered: August 2016
Senior Member
This is fixed in EGit nightly now. (JGit version 6.1.0.202112270830.)
Previous Topic:ReceivePack and preReceiveHook
Next Topic:Using jgit for help
Goto Forum:
  


Current Time: Fri Apr 19 10:48:11 GMT 2024

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

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

Back to the top