Egit and submodules [RESOLVED] [message #1245829] |
Fri, 14 February 2014 10:27 |
Xavier Raynaud 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03365 seconds