Would GIT submodules be a good idea?

Jesse Phillips jessekphillips+d at gmail.com
Wed Aug 17 07:38:16 PDT 2011

On Wed, 17 Aug 2011 11:46:23 +0200, torhu wrote:

> If submodules are meant for the same use cases as SVN externals, they
> are primarily for automatically pulling in stuff that is separate
> because it is actually a separate project, probably maintained by
> someone else, or maybe just hosted elsewhere for some reason.  Not for
> splitting a project into parts.  Which is why I'm wondering what exactly
> you want to achieve here.

With SVN you will create large projects/multi-projects in one repository, 
this can include multiple tools, libraries, and everything else. SVN also 
provides the ability to checkout subdirectories without pulling 
everything else.

My suggest for submoduling is to separate parts that could be reused by 
something not DWT. For example the base directory that contains base Java 
components. The parts of Eclipse that aren't part of SWT (as it is 
handled by the SWT repository). These can be used by others that are 
porting something from Java/Eclipse that isn't DWT. (not likely but still 

More information about the Digitalmars-d-dwt mailing list