diff --git a/cmd/gitexec.go b/cmd/gitexec.go index 89062e5..da460c2 100644 --- a/cmd/gitexec.go +++ b/cmd/gitexec.go @@ -39,7 +39,7 @@ func gitRepoPathGc(repoPath string) ([]byte, error) { return out, nil } -func gitRepoReset(repoPath string, commit string) ([]byte, error) { +func gitRepoReset(repoPath, commit string) ([]byte, error) { out, err := gitexec.Reset(&gitexec.ResetOptions{ CmdDir: repoPath, Hard: true,