From 0b40e23b6cb6a80975fadee231d07c1dd3341184 Mon Sep 17 00:00:00 2001 From: AtomicFS Date: Mon, 2 Dec 2024 12:51:47 +0100 Subject: [PATCH] docs: update git submodule update suggestion Signed-off-by: AtomicFS --- action/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/main.go b/action/main.go index 179abfc2..540954b4 100644 --- a/action/main.go +++ b/action/main.go @@ -109,7 +109,7 @@ func run(ctx context.Context) error { patterSub := regexp.MustCompile(`^\-[\d\w]* `) slog.Warn( "Git submodule seems to be uninitialized", - slog.String("suggestion", "run 'git submodule update --init --recursive'"), + slog.String("suggestion", "run 'git submodule update --depth 0 --init --recursive --checkout'"), slog.String("offending_submodule", patterSub.ReplaceAllString(v, "")), ) }