summaryrefslogtreecommitdiff
path: root/include/git2/clone.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/clone.h')
-rw-r--r--include/git2/clone.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/clone.h b/include/git2/clone.h
index 98c6fb7d7..20be1a105 100644
--- a/include/git2/clone.h
+++ b/include/git2/clone.h
@@ -52,7 +52,7 @@ GIT_BEGIN_DECL
typedef struct git_clone_options {
unsigned int version;
- git_checkout_opts checkout_opts;
+ git_checkout_options checkout_opts;
git_remote_callbacks remote_callbacks;
int bare;
@@ -63,7 +63,7 @@ typedef struct git_clone_options {
} git_clone_options;
#define GIT_CLONE_OPTIONS_VERSION 1
-#define GIT_CLONE_OPTIONS_INIT {GIT_CLONE_OPTIONS_VERSION, {GIT_CHECKOUT_OPTS_VERSION, GIT_CHECKOUT_SAFE_CREATE}, GIT_REMOTE_CALLBACKS_INIT}
+#define GIT_CLONE_OPTIONS_INIT {GIT_CLONE_OPTIONS_VERSION, {GIT_CHECKOUT_OPTIONS_VERSION, GIT_CHECKOUT_SAFE_CREATE}, GIT_REMOTE_CALLBACKS_INIT}
/**
* Initializes a `git_clone_options` with default values. Equivalent to
@@ -120,7 +120,7 @@ GIT_EXTERN(int) git_clone(
GIT_EXTERN(int) git_clone_into(
git_repository *repo,
git_remote *remote,
- const git_checkout_opts *co_opts,
+ const git_checkout_options *co_opts,
const char *branch,
const git_signature *signature);