(CDT) egit submodules, show in history, file from "working directory" [message #1128057] |
Mon, 07 October 2013 05:36  |
Eclipse User |
|
|
|
Hi,
My system:
Windows 7 64bits
Kepler SR1 2013 09 19
CDT 8.2.1 2013 09 18
egit 3.1.0.2013 10 02
I'm using git modules.
I clone/pull my superproject from outside eclipse with MSys Git 1.8.4.
So I have .git files with a content like
gitdir: ../../.git/modules/sw/fgc
to address the modules.
Everything works more or less fine except
1)My eclipse CDT projects can only be "team shared" via the superproject .git. I can't "team share" with any .git of the submodules.
2)So in project explorer view all cdt projects show "master" even if some (submodules) are in a branch. In the "Git repository" view in the tree of nodes, each submodule shows the correct branch.
3)I can't use the pop-up "Team/show in history" for submodules files. Apparently the history looks in the superproject master so what is shown has nothing to do with the file.
Similarly in the "Git Repository" view selecting in the tree of nodes
superproject/submodules/module/working directory/fileName
pop-up "Show In/History" has the same behavior (searching through superproject master(?))
I guess EGit recognize .git files, because I see the submodules in "git repository" view.
Where is the problem for "Show in history"?
For the moment I use an extra clone of each git module but as project (so .git folder instead of .git file pointing to superproject) to be able to use the very handy "Show in history".
|
|
|
|
Powered by
FUDForum. Page generated in 0.04445 seconds