From e957384fd9846f228e45f986d5199819a53b7ba2 Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven.rezic@idealo.de>
Date: Wed, 25 Jan 2023 14:51:06 +0100
Subject: [PATCH] allow file protocol in test (fix for RT #144889)

---
 t/21-submodule.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/21-submodule.t b/t/21-submodule.t
index 444029c..8cf3962 100644
--- a/t/21-submodule.t
+++ b/t/21-submodule.t
@@ -44,6 +44,7 @@ $s->run( checkout => 'master', { quiet => 1 } );
 # now test adding a submodule
 my $r = test_repository(@init);
 $r->run(
+    ('-c', 'protocol.file.allow=always'),
     submodule => add => $s->work_tree => 'sub',
     { env => { GIT_WORK_TREE => undef } }
 );
