Merge branch 'sb/checkout-recurse-submodules'
"git checkout --recurse-submodules" did not quite work with a submodule that itself has submodules. * sb/checkout-recurse-submodules: submodule: properly recurse for read-tree and checkout submodule: avoid auto-discovery in new working tree manipulator code submodule_move_head: reuse child_process structure for futher commands
This commit is contained in:
@@ -788,11 +788,6 @@ test_submodule_switch_recursing () {
|
||||
then
|
||||
RESULTDS=failure
|
||||
fi
|
||||
RESULTR=success
|
||||
if test "$KNOWN_FAILURE_SUBMODULE_RECURSIVE_NESTED" = 1
|
||||
then
|
||||
RESULTR=failure
|
||||
fi
|
||||
RESULTOI=success
|
||||
if test "$KNOWN_FAILURE_SUBMODULE_OVERWRITE_IGNORED_UNTRACKED" = 1
|
||||
then
|
||||
@@ -1004,7 +999,7 @@ test_submodule_switch_recursing () {
|
||||
'
|
||||
|
||||
# recursing deeper than one level doesn't work yet.
|
||||
test_expect_$RESULTR "$command: modified submodule updates submodule recursively" '
|
||||
test_expect_success "$command: modified submodule updates submodule recursively" '
|
||||
prolog &&
|
||||
reset_work_tree_to_interested add_nested_sub &&
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user