From dc190d24d11d4bec50b595035757bb914f5a01cb Mon Sep 17 00:00:00 2001 From: Arief Wibowo Date: Thu, 30 May 2024 21:56:21 +0700 Subject: Remove repeated git command Signed-off-by: Arief Wibowo --- ext/git/writer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/git/writer.go b/ext/git/writer.go index a2f4cc6..20a678f 100644 --- a/ext/git/writer.go +++ b/ext/git/writer.go @@ -88,7 +88,7 @@ func (m *nativeGitClient) Push(remote string, branch string, force bool) error { // Add adds a path spec to the repository func (m *nativeGitClient) Add(path string) error { - return m.runCredentialedCmd("git", "add", path) + return m.runCredentialedCmd("add", path) } // SymRefToBranch retrieves the branch name a symbolic ref points to -- cgit v1.2.3