dotphiles/dotsync — pull request #7 by bdcribbs (2013-04-27 03:18:09+00:00)
Title: Tweaks to submodule handling

I added "git submodule sync" (Specifically this deals with origin URL changes, I had to add this because I switched from using the dotphiles github to my fork).

I changed the "submodule update". I think the previous one was just broken, it didn't do anything inside a foreach.

I added an --init to the "submodule update", which is nothing if it's already done but will properly initialize new modules.