diff options
Diffstat (limited to 'repository.go')
-rw-r--r-- | repository.go | 2 |
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(), }) } |