]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5510-fetch.sh
t/t5NNN: allow local submodules
authorTaylor Blau <me@ttaylorr.com>
Fri, 29 Jul 2022 19:21:06 +0000 (15:21 -0400)
committerTaylor Blau <me@ttaylorr.com>
Sat, 1 Oct 2022 04:23:38 +0000 (00:23 -0400)
commit225d2d50ccef4baae410a96b9dc9e3978d164826
treead10a20a2837176b6191621912ba0cdca5e84110
parentac7e57fa288260341bdbd5e9abcdd24eaf214740
t/t5NNN: allow local submodules

To prepare for the default value of `protocol.file.allow` to change to
"user", ensure tests that rely on local submodules can initialize them
over the file protocol.

Tests that only need to interact with submodules in a limited capacity
have individual Git commands annotated with the appropriate
configuration via `-c`. Tests that interact with submodules a handful of
times use `test_config_global` instead. Test scripts that rely on
submodules throughout use a `git config --global` during a setup test
towards the beginning of the script.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
t/t5510-fetch.sh
t/t5526-fetch-submodules.sh
t/t5545-push-options.sh
t/t5572-pull-submodule.sh
t/t5601-clone.sh
t/t5614-clone-submodules-shallow.sh
t/t5616-partial-clone.sh
t/t5617-clone-submodules-remote.sh