Felipe Contreras wrote: > Firmin Martin wrote: > > diff --git a/t/t5526-fetch-submodules.sh b/t/t5526-fetch-submodules.sh > > index ed11569d8d..ff18263171 100755 > > --- a/t/t5526-fetch-submodules.sh > > +++ b/t/t5526-fetch-submodules.sh > > @@ -418,7 +418,7 @@ test_expect_success "'fetch.recurseSubmodules=on-demand' overrides global config > > git fetch --recurse-submodules > > ) && > > add_upstream_commit && > > - git config --global fetch.recurseSubmodules false && > > + test_config_global fetch.recurseSubmodules false && > > head1=$(git rev-parse --short HEAD) && > > git add submodule && > > git commit -m "new submodule" && > > @@ -429,11 +429,7 @@ test_expect_success "'fetch.recurseSubmodules=on-demand' overrides global config > > ( > > cd downstream && > > git config fetch.recurseSubmodules on-demand && > > Uhm: > > test_config fetch.recurseSubmodules on-demand && Ahh, I just read the comment about not using it in a subshell. Then outside: test_config -C downstream fetch.recurseSubmodules on-demand && -- Felipe Contreras