Reputation: 117
I am trying to asses the feasibility of converting our jumbo SVN repo to git. The major issue is that the project has a few hundred externals, some of which are quite beefy.
So far I have created a script that recursively clones all svn externals into their own git repo, and then the main repo defines a whole lot of submodules pointing to my git clones.
The main issue is it seems the externals taking twice the space they should (the clone and the submodule). Is there a way to have only 1 shared instance of the external clones ?
Upvotes: 0
Views: 432
Reputation: 1328732
The main issue is it seems the externals taking twice the space they should (the clone and the submodule).
If by twice you mean:
Then it should not be quite twice: the first one (submodule repo) should be a bare one (or can be made bare), avoiding to keep two working tree with all their files.
Upvotes: 1