summaryrefslogtreecommitdiff
path: root/include/git2/revert.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/revert.h')
-rw-r--r--include/git2/revert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/revert.h b/include/git2/revert.h
index 088bda94d..fcdf2a2ca 100644
--- a/include/git2/revert.h
+++ b/include/git2/revert.h
@@ -27,11 +27,11 @@ typedef struct {
unsigned int mainline;
git_merge_tree_opts merge_tree_opts;
- git_checkout_opts checkout_opts;
+ git_checkout_options checkout_opts;
} git_revert_opts;
#define GIT_REVERT_OPTS_VERSION 1
-#define GIT_REVERT_OPTS_INIT {GIT_REVERT_OPTS_VERSION, 0, GIT_MERGE_TREE_OPTS_INIT, GIT_CHECKOUT_OPTS_INIT}
+#define GIT_REVERT_OPTS_INIT {GIT_REVERT_OPTS_VERSION, 0, GIT_MERGE_TREE_OPTS_INIT, GIT_CHECKOUT_OPTIONS_INIT}
/**
* Initializes a `git_revert_opts` with default values. Equivalent to