summaryrefslogtreecommitdiff
path: root/include/git2/clone.h
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-03-07 19:02:58 +0100
committerVicent Marti <vicent@github.com>2014-03-07 19:02:58 +0100
commit041cd4a23ff4fb17e7e9250521f78819636afbfd (patch)
tree15a87fe64d74d9974d17803e0e573fe56e812686 /include/git2/clone.h
parent5a6de908f6a89e032f865f7031b0a697c3ecfc4f (diff)
parentaa17c3c63c3e31155015572cf208d89def9fce0c (diff)
downloadlibgit2-041cd4a23ff4fb17e7e9250521f78819636afbfd.tar.gz
Merge pull request #2028 from libgit2/options-names
Rename options structures
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);