aboutsummaryrefslogtreecommitdiff
path: root/internal/git2c/cmd_index.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/git2c/cmd_index.go (renamed from internal/git2c/cmd1.go)2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git2c/cmd1.go b/internal/git2c/cmd_index.go
index 68493a2..a705a63 100644
--- a/internal/git2c/cmd1.go
+++ b/internal/git2c/cmd_index.go
@@ -10,7 +10,7 @@ import (
"io"
)
-func (c *Client) Cmd1(repoPath string) ([]Commit, *FilenameContents, error) {
+func (c *Client) CmdIndex(repoPath string) ([]Commit, *FilenameContents, error) {
if err := c.writer.WriteData([]byte(repoPath)); err != nil {
return nil, nil, fmt.Errorf("sending repo path failed: %w", err)
}