]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t7527: prepare for changing protocol.file.allow
authorTaylor Blau <me@ttaylorr.com>
Fri, 30 Sep 2022 20:47:00 +0000 (16:47 -0400)
committerTaylor Blau <me@ttaylorr.com>
Thu, 6 Oct 2022 23:57:52 +0000 (19:57 -0400)
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>
t/t7527-builtin-fsmonitor.sh

index 56c0dfffea6e73e54120e61cd752dda78ae15ad3..d419085379ce6c38fce7baf68160ce0faf2898be 100755 (executable)
@@ -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; \