From 9fba783c9819e9f3cb57a8fc53769a0bf1ab052e Mon Sep 17 00:00:00 2001
From: "alex.sharov" <AskAlexSharov@gmail.com>
Date: Tue, 14 Dec 2021 21:16:56 +0700
Subject: [PATCH] init recursive git submodules on dockerhub

---
 hooks/post_checkout | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hooks/post_checkout b/hooks/post_checkout
index 1c6f495cf0..71fa8f796d 100644
--- a/hooks/post_checkout
+++ b/hooks/post_checkout
@@ -1,4 +1,4 @@
 #!/bin/bash
 # Docker hub does a recursive clone, then checks the branch out,
 # so when a PR adds a submodule (or updates it), it fails.
-git submodule update --init
+git submodule update --init --recursive
-- 
GitLab