Skip to content

Commit

Permalink
t7527: prepare for changing protocol.file.allow
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ttaylorr committed Oct 6, 2022
1 parent d9fcaee commit 9a167cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions t/t7527-builtin-fsmonitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit 9a167cb

Please sign in to comment.