|Egit and submodules [RESOLVED] [message #1245829]
||Fri, 14 February 2014 10:27
| Xavier Raynaud
Registered: February 2012
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 220.127.116.11309161630
I also use git version 18.104.22.168 from command line.
I've a git repository with a submodule.
Lets name these "RootRepo" and "SubModule".
With git version 22.214.171.124, the gitdir of the SubModule is located in RootRepo/.git/modules/
$ cat RootRepository/SubModule/.git
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.01784 seconds