Fr4ncky / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

repo sync should have the option to update git submodules in the the projects it syncs #174

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
currently in repo version 1.21 the repo sync command pulls in updates to a set 
of git repositories. If any of these repositories contains a git submodule, 
that submodule is not fetched and it is up to the user to remember to issue the 
extra commands

repo forall -c git submodule init
repo forall -c git submodule update

It would be convenient if there was a switch added to the repo sync command 
that would automatically update all git submodules in associated projects.

Original issue reported on code.google.com by g...@christoforo.net on 28 Jul 2014 at 4:36

GoogleCodeExporter commented 9 years ago
repo sync --fetch-submodules or add sync-s="true" to the project/in defaults in 
the manifest

Original comment by anthonyd...@gmail.com on 21 Feb 2015 at 3:30