I have this following scenario:
- a core lib, let's call it A.
- a features lib, we'll call B. B depends on A.
- a tool, called C, depending on A and B.
A is shared across many projects. B is shared across 3-4.
So, the layout is as follows:
- Project C has a submodule with A inside.
- Project C has a submodule with B inside and, in turn, B has a submodule with A inside.
This works well in git, although it fails quickly on the project side.
The first implication is that C and B could use different revisions of A, but that's just up to us to not mess that up.
The main issue is that it is not be possible to have a project including 'A' twice in the IDE.
Is it possible to have B as a submodule, but B wouldn't its own submodule? so we woudln't have two copies of A?
Additionally, I'm sure there are others with the same problem. Is there a common / accepted way to deal with that issue?