Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Egit and submodules [RESOLVED](Egit, submodules and eclipse projects [RESOLVED])
Egit and submodules [RESOLVED] [message #1245829] Fri, 14 February 2014 10:27 Go to next message
Xavier Raynaud is currently offline Xavier RaynaudFriend
Messages: 19
Registered: February 2012
Junior Member
Hi,

I've a question about Egit and submodules.

First, some words about my environment:
I work on Linux (fedora-17), with Eclipse Kepler, and org.eclipse.egit.feature version 3.0.3.201309161630
I also use git version 1.7.11.7 from command line.

I've a git repository with a submodule.
Lets name these "RootRepo" and "SubModule".

With git version 1.7.11.7, the gitdir of the SubModule is located in RootRepo/.git/modules/
$ cat RootRepository/SubModule/.git
gitdir: ../.git/modules/submodule


When displaying the git repository in Git Repositories View (org.eclipse.egit.ui.RepositoriesView), the submodule is correctly managed.
It appears in the view, and I can browse it correctly.

However, when I try to import an eclipse project located in the SubModule, it seems that Egit does not find the correct gitdir: it uses the gitdir of the "RootRepo" instead of the gitdir of the "SubModule".

Can somebody confirm this behaviour ?
Is there a way to workaround this behaviour in Kepler ?

[Updated on: Fri, 14 February 2014 11:30]

Report message to a moderator

Re: Egit and submodules [message #1245866 is a reply to message #1245829] Fri, 14 February 2014 11:30 Go to previous message
Xavier Raynaud is currently offline Xavier RaynaudFriend
Messages: 19
Registered: February 2012
Junior Member
I reply to myself.

It's fixed in egit 3.2:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=423644
Previous Topic:Marketplace always shows update available
Next Topic:More line ending problems
Goto Forum:
  


Current Time: Fri Apr 26 00:04:10 GMT 2024

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

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

Back to the top