From: Stefan Beller Date: Tue, 18 Apr 2017 21:37:23 +0000 (-0700) Subject: submodule.c: uninitialized submodules are ignored in recursive commands X-Git-Tag: v2.14.0-rc0~172^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/823bab09c68b4048e433ab48b9185302c2f4b63a?ds=sidebyside;hp=823bab09c68b4048e433ab48b9185302c2f4b63a submodule.c: uninitialized submodules are ignored in recursive commands This was an oversight when working on the working tree modifying commands recursing into submodules. To test for uninitialized submodules, introduce another submodule "uninitialized_sub". Adding it via `submodule add` will activate the submodule in the preparation area (in create_lib_submodule_repo we setup all the things in submodule_update_repo), but the later tests will use a new testing repo that clones the preparation repo in which the new submodule is not initialized. By adding it to the branch "add_sub1", which is the starting point of all other branches, we have wide coverage. Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano ---