diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-07-29 22:21:18 +0300 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-01 07:23:38 +0300 |
commit | 0f21b8f468566b991eea60bb7bdf2fce9265e367 (patch) | |
tree | 3130395d929ba042d48d9a0d7ae45e722a6674e9 /t/t6134-pathspec-in-submodule.sh | |
parent | 225d2d50ccef4baae410a96b9dc9e3978d164826 (diff) |
t/t6NNN: 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`.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t6134-pathspec-in-submodule.sh')
-rwxr-xr-x | t/t6134-pathspec-in-submodule.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6134-pathspec-in-submodule.sh b/t/t6134-pathspec-in-submodule.sh index c670668409..2fde65b431 100755 --- a/t/t6134-pathspec-in-submodule.sh +++ b/t/t6134-pathspec-in-submodule.sh @@ -9,7 +9,7 @@ test_expect_success 'setup a submodule' ' : >pretzel/a && git -C pretzel add a && git -C pretzel commit -m "add a file" -- a && - git submodule add ./pretzel sub && + git -c protocol.file.allow=always submodule add ./pretzel sub && git commit -a -m "add submodule" && git submodule deinit --all ' |