From ae51e3240a141b26a80145ec3144a77d6ef7039c Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Thu, 5 Jun 2025 20:51:42 -0400 Subject: [PATCH] Add lefthook for updating submodules post-checkout --- lefthook.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lefthook.yml b/lefthook.yml index ff0ac00f9e5..0f91f658171 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -9,6 +9,11 @@ pre-commit: - rebase post-merge: + commands: + update-submodules: + run: git submodule update --init --recursive + +post-checkout: commands: update-submodules: run: git submodule update --init --recursive \ No newline at end of file