Skip to content

Commit dc190d2

Browse files
ariefwtchengfang
authored andcommitted
Remove repeated git command
Signed-off-by: Arief Wibowo <i@arwi.me>
1 parent bb590d5 commit dc190d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/git/writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (m *nativeGitClient) Push(remote string, branch string, force bool) error {
8888

8989
// Add adds a path spec to the repository
9090
func (m *nativeGitClient) Add(path string) error {
91-
return m.runCredentialedCmd("git", "add", path)
91+
return m.runCredentialedCmd("add", path)
9292
}
9393

9494
// SymRefToBranch retrieves the branch name a symbolic ref points to

0 commit comments

Comments
 (0)