aboutsummaryrefslogtreecommitdiffstats
path: root/repository.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository.go')
-rw-r--r--repository.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.go b/repository.go
index 2fdbafc..bb59afe 100644
--- a/repository.go
+++ b/repository.go
@@ -575,7 +575,7 @@ func (r *Repository) updateWorktree(branch plumbing.ReferenceName) error {
return err
}
- return w.reset(&ResetOptions{
+ return w.Reset(&ResetOptions{
Commit: b.Hash(),
})
}