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>
Taylor Blau committed
Sep 30, 2022 at 16:47 UTC
9a167cb7860d7ae7cd5685434d0194c934800128
1 file changed
+4
t/t7527-builtin-fsmonitor.sh
+4
@@ -813,6 +813,10 @@ my_match_and_clean () {
813
git -C super/dir_1/dir_2/sub clean -d -f
814
}
815
816
+test_expect_success 'submodule setup' '
817
+ git config --global protocol.file.allow always
818
+'
819
+
820
test_expect_success 'submodule always visited' '
821
test_when_finished "git -C super fsmonitor--daemon stop; \
822
rm -rf super; \