From 79d0e5f8768d83a9a242be696827e95c1d90a0e5 Mon Sep 17 00:00:00 2001 From: Jan Kubalek Date: Sun, 11 Jan 2026 17:27:42 +0100 Subject: [PATCH 1/2] No checkout after clone --- internal/git/Git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/git/Git.go b/internal/git/Git.go index bdd220c..8402539 100644 --- a/internal/git/Git.go +++ b/internal/git/Git.go @@ -36,7 +36,7 @@ func (args *GitClone) ConstructCMDLine() []string { cmd := []string{ GitExecutablePath, "clone", - "--recursive", + "--no-checkout", args.URI, args.ClonePath, } From 5a4cd57b9367f4daa5a9c133f19d74a53aa21a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikul=C3=A1=C5=A1=20=C5=A0=C5=A5astn=C3=BD?= Date: Mon, 26 Jan 2026 13:29:45 +0100 Subject: [PATCH 2/2] Add no-checkout to test --- internal/git/default_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/git/default_test.go b/internal/git/default_test.go index b7b7642..9df92c6 100644 --- a/internal/git/default_test.go +++ b/internal/git/default_test.go @@ -16,7 +16,7 @@ func TestGitClone_ConstructCMDLine(t *testing.T) { validCmdLine := []string{ git.GitExecutablePath, "clone", - "--recursive", + "--no-checkout", gitClone.URI, gitClone.ClonePath, }