]> git.ipfire.org Git - thirdparty/git.git/commit
t/t7NNN: allow local submodules
authorTaylor Blau <me@ttaylorr.com>
Fri, 29 Jul 2022 19:21:40 +0000 (15:21 -0400)
committerTaylor Blau <me@ttaylorr.com>
Sat, 1 Oct 2022 04:23:38 +0000 (00:23 -0400)
commit0d3beb71dad7906f576b0de9cea32164549163fe
treeb2b860831815d581f8afba1c308a9b56f5c914c2
parent0f21b8f468566b991eea60bb7bdf2fce9265e367
t/t7NNN: 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>
23 files changed:
t/t7001-mv.sh
t/t7064-wtstatus-pv2.sh
t/t7300-clean.sh
t/t7400-submodule-basic.sh
t/t7403-submodule-sync.sh
t/t7406-submodule-update.sh
t/t7407-submodule-foreach.sh
t/t7408-submodule-reference.sh
t/t7409-submodule-detached-work-tree.sh
t/t7411-submodule-config.sh
t/t7413-submodule-is-active.sh
t/t7414-submodule-mistakes.sh
t/t7415-submodule-names.sh
t/t7416-submodule-dash-url.sh
t/t7417-submodule-path-url.sh
t/t7418-submodule-sparse-gitmodules.sh
t/t7419-submodule-set-branch.sh
t/t7420-submodule-set-url.sh
t/t7421-submodule-summary-add.sh
t/t7506-status-submodule.sh
t/t7507-commit-verbose.sh
t/t7800-difftool.sh
t/t7814-grep-recurse-submodules.sh