Skip to content

Commit 9a167cb

Browse files
committed
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 <[email protected]>
1 parent d9fcaee commit 9a167cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/t7527-builtin-fsmonitor.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,10 @@ my_match_and_clean () {
813813
git -C super/dir_1/dir_2/sub clean -d -f
814814
}
815815

816+
test_expect_success 'submodule setup' '
817+
git config --global protocol.file.allow always
818+
'
819+
816820
test_expect_success 'submodule always visited' '
817821
test_when_finished "git -C super fsmonitor--daemon stop; \
818822
rm -rf super; \

0 commit comments

Comments
 (0)