summaryrefslogtreecommitdiff
path: root/ext/git/writer.go
diff options
context:
space:
mode:
authorjannfis <jann@mistrust.net>2024-05-27 19:38:30 +0000
committerjannfis <jann@mistrust.net>2024-05-27 19:40:33 +0000
commit67f3d349f9fb60bb232cf6f0734a090bc48f5a4e (patch)
treef8b3731f82b98982d4f26ee598635d7932efed19 /ext/git/writer.go
parenteb1d8d30bb22cb82928df64fd5028fa978f8cb5b (diff)
chore(deps): Pull in Git client changes from Argo CD v2.11.2
Signed-off-by: jannfis <jann@mistrust.net>
Diffstat (limited to 'ext/git/writer.go')
-rw-r--r--ext/git/writer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/git/writer.go b/ext/git/writer.go
index 4dede58..a2f4cc6 100644
--- a/ext/git/writer.go
+++ b/ext/git/writer.go
@@ -79,7 +79,7 @@ func (m *nativeGitClient) Push(remote string, branch string, force bool) error {
args = append(args, "-f")
}
args = append(args, remote, branch)
- err := m.runCredentialedCmd("git", args...)
+ err := m.runCredentialedCmd(args...)
if err != nil {
return fmt.Errorf("could not push %s to %s: %v", branch, remote, err)
}