diff options
| author | Arief Wibowo <i@arwi.me> | 2024-05-30 21:56:21 +0700 |
|---|---|---|
| committer | Cheng Fang <cfang@redhat.com> | 2024-05-30 15:00:52 -0400 |
| commit | dc190d24d11d4bec50b595035757bb914f5a01cb (patch) | |
| tree | 24dbab401ee8fc7606dd0800945619d57bd65ed1 | |
| parent | bb590d50ae5931e5dbf41f8fd6d4a30f92e22e9e (diff) | |
Remove repeated git command
Signed-off-by: Arief Wibowo <i@arwi.me>
| -rw-r--r-- | ext/git/writer.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
