From 9e7be6f768a35cc98a7bed0588ca82a7f814da99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Fabianski?= Date: Mon, 27 Nov 2023 10:36:33 +0100 Subject: [PATCH] fix(git): avoid error message to be swallowed --- 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 b31b70fce..d12845bbc 100644 --- a/internal/git/git.go +++ b/internal/git/git.go @@ -52,7 +52,7 @@ func GetRoot(targetPath string) (string, error) { func logAndBuildCommand(ctx context.Context, args ...string) *exec.Cmd { log.Debug().Msgf("running command: git %s", strings.Join(args, " ")) - cmd := exec.CommandContext(ctx, "git2ss", args...) + cmd := exec.CommandContext(ctx, "git", args...) cmd.Env = environment return cmd