From 30bf5f8b39f2bf28d37d46f114b41185c494af5f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 31 Dec 2022 02:17:11 +1000 Subject: [PATCH] Fix 'git submodule' after git security update --- build/ninja_gen/src/git.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/ninja_gen/src/git.rs b/build/ninja_gen/src/git.rs index c28571f12..f5a668c76 100644 --- a/build/ninja_gen/src/git.rs +++ b/build/ninja_gen/src/git.rs @@ -12,7 +12,7 @@ pub struct SyncSubmodule { impl BuildAction for SyncSubmodule { fn command(&self) -> &str { - "git submodule update --init $path" + "git -c protocol.file.allow=always submodule update --init $path" } fn files(&mut self, build: &mut impl build::FilesHandle) {