summaryrefslogtreecommitdiff
path: root/src/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reset.c')
-rw-r--r--src/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reset.c b/src/reset.c
index 2a78d312c..e403e2a9a 100644
--- a/src/reset.c
+++ b/src/reset.c
@@ -102,7 +102,7 @@ int git_reset(
git_index *index = NULL;
git_tree *tree = NULL;
int error = 0;
- git_checkout_opts opts = GIT_CHECKOUT_OPTS_INIT;
+ git_checkout_options opts = GIT_CHECKOUT_OPTIONS_INIT;
git_buf log_message_buf = GIT_BUF_INIT;
assert(repo && target);