From 64e7707c0e2cecff672b4137c8f1659c7078c5ce Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 19 Nov 2025 02:34:04 +0100 Subject: [PATCH] fix: clone args used by custom command --- pkg/commands/internal/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/internal/builder.go b/pkg/commands/internal/builder.go index bfd242f159dc..63f6f2f189ea 100644 --- a/pkg/commands/internal/builder.go +++ b/pkg/commands/internal/builder.go @@ -92,7 +92,7 @@ func (b Builder) clone(ctx context.Context) error { //nolint:gosec // the variable is sanitized. cmd := exec.CommandContext(ctx, "git", "clone", "--branch", sanitizeVersion(b.cfg.Version), - "--single-branch", "--depth", "1", "-c advice.detachedHead=false", "-q", + "--single-branch", "--depth", "1", "-c", "advice.detachedHead=false", "-q", "https://github.com/golangci/golangci-lint.git", ) cmd.Dir = b.root