summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-09-30 16:47:00 -0400
committerTaylor Blau <me@ttaylorr.com>2022-10-06 19:57:52 -0400
commit9a167cb7860d7ae7cd5685434d0194c934800128 (patch)
tree99193c49f0a5d9c057049d07e63fe8a393eefbda
parentd9fcaeece2ff946dc3648a22252a92c5400fabe0 (diff)
downloadgit-9a167cb7860d7ae7cd5685434d0194c934800128.tar.gz
t7527: prepare for changing protocol.file.allow
Explicitly cloning over the "file://" protocol in t7527 in preparation for merging a security release which will change the default value of this configuration to be "user". Signed-off-by: Taylor Blau <me@ttaylorr.com>
-rwxr-xr-xt/t7527-builtin-fsmonitor.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7527-builtin-fsmonitor.sh b/t/t7527-builtin-fsmonitor.sh
index 56c0dfffea..d419085379 100755
--- a/t/t7527-builtin-fsmonitor.sh
+++ b/t/t7527-builtin-fsmonitor.sh
@@ -813,6 +813,10 @@ my_match_and_clean () {
git -C super/dir_1/dir_2/sub clean -d -f
}
+test_expect_success 'submodule setup' '
+ git config --global protocol.file.allow always
+'
+
test_expect_success 'submodule always visited' '
test_when_finished "git -C super fsmonitor--daemon stop; \
rm -rf super; \