Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » (CDT) egit submodules, show in history, file from "working directory"(submodules are confusing egit)
(CDT) egit submodules, show in history, file from "working directory" [message #1128057] Mon, 07 October 2013 05:36 Go to next message
Daniel Calcoen is currently offline Daniel Calcoen
Messages: 5
Registered: August 2011
Location: Switzerland
Junior Member
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".
Re: (CDT) egit submodules, show in history, file from "working directory" [message #1129136 is a reply to message #1128057] Tue, 08 October 2013 06:19 Go to previous message
Daniel Calcoen is currently offline Daniel Calcoen
Messages: 5
Registered: August 2011
Location: Switzerland
Junior Member
also mentioned on february
https://bugs.eclipse.org/bugs/show_bug.cgi?id=401556
Previous Topic:Diff inside commit dialog
Next Topic:Filter tags in Git Repository view
Goto Forum:
  


Current Time: Fri Jul 25 03:14:04 EDT 2014

Powered by FUDForum. Page generated in 0.02216 seconds