summaryrefslogtreecommitdiff
path: root/reset.go
diff options
context:
space:
mode:
Diffstat (limited to 'reset.go')
-rw-r--r--reset.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reset.go b/reset.go
index 031f5bd..b3ecff4 100644
--- a/reset.go
+++ b/reset.go
@@ -14,7 +14,7 @@ const (
ResetHard ResetType = C.GIT_RESET_HARD
)
-func (r *Repository) ResetToCommit(commit *Commit, resetType ResetType, opts *CheckoutOpts) error {
+func (r *Repository) ResetToCommit(commit *Commit, resetType ResetType, opts *CheckoutOptions) error {
runtime.LockOSThread()
defer runtime.UnlockOSThread()
ret := C.git_reset(r.ptr, commit.ptr, C.git_reset_t(resetType), opts.toC())