From 224a31a765eb943443640301a715d2d4eb005b79 Mon Sep 17 00:00:00 2001 From: Martin Kelly Date: Mon, 10 Jul 2017 14:46:25 -0700 Subject: init: add missing submodule arg The submodule argument to Sync_LocalHalf was missing in MetaBranchSwitch, causing submodules not to get synced when the -b/--manifest-branch argument to init is used. Change-Id: Ie86d271abac2020725770be36ead83be3326e64b Signed-off-by: Martin Kelly --- subcmds/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subcmds/init.py') diff --git a/subcmds/init.py b/subcmds/init.py index 65dfd1fd..46cdd23a 100644 --- a/subcmds/init.py +++ b/subcmds/init.py @@ -256,7 +256,7 @@ to update the working directory files. sys.exit(1) if opt.manifest_branch: - m.MetaBranchSwitch() + m.MetaBranchSwitch(submodules=opt.submodules) syncbuf = SyncBuffer(m.config) m.Sync_LocalHalf(syncbuf, submodules=opt.submodules) -- cgit v1.2.3-54-g00ecf