Skip to content

Commit 541607d

Browse files
committed
t3206: prepare for changing protocol.file.allow
Explicitly cloning over the "file://" protocol in t3206 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 a0feb86 commit 541607d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t3206-range-diff.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ test_expect_success 'submodule changes are shown irrespective of diff.submodule'
782782
sub_oid3=$(git -C sub-repo rev-parse HEAD) &&
783783
784784
git checkout -b main-sub topic &&
785-
git submodule add ./sub-repo sub &&
785+
git -c protocol.file.allow=always submodule add ./sub-repo sub &&
786786
git -C sub checkout --detach sub-first &&
787787
git commit -m "add sub" sub &&
788788
sup_oid1=$(git rev-parse --short HEAD) &&

0 commit comments

Comments
 (0)