built-in rebase --autostash: leave the current branch alone if possible
[gitweb.git] / t / t5526-fetch-submodules.sh
index 359e03ff836cf6ac087c83c5b7abe7365ecb4447..0f730d7781568861564b44d534bad728095ac71d 100755 (executable)
@@ -379,7 +379,7 @@ test_expect_success "'--recurse-submodules=on-demand' recurses as deep as necess
                        git config -f .gitmodules submodule.subdir/deepsubmodule.fetchRecursive false
                ) &&
                git fetch --recurse-submodules=on-demand >../actual.out 2>../actual.err &&
-               git config --unset fetch.recurseSubmodules
+               git config --unset fetch.recurseSubmodules &&
                (
                        cd submodule &&
                        git config --unset -f .gitmodules submodule.subdir/deepsubmodule.fetchRecursive