summaryrefslogtreecommitdiff
path: root/src/clone.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-01-03 17:38:34 -0800
committerBen Straub <bs@github.com>2014-03-06 09:44:51 -0800
commit6affd71f33f9a9693425d6f3599ba1f25226c34b (patch)
tree42127170b47c96ec55438920e812dc0d96568add /src/clone.c
parent8e5247203720de7abd084996c00afd6fb6f6cc21 (diff)
downloadlibgit2-6affd71f33f9a9693425d6f3599ba1f25226c34b.tar.gz
git_checkout_opts -> git_checkout_options
Diffstat (limited to 'src/clone.c')
-rw-r--r--src/clone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clone.c b/src/clone.c
index b5333bdb7..e19d02ba2 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -322,7 +322,7 @@ on_error:
static bool should_checkout(
git_repository *repo,
bool is_bare,
- const git_checkout_opts *opts)
+ const git_checkout_options *opts)
{
if (is_bare)
return false;
@@ -336,7 +336,7 @@ static bool should_checkout(
return !git_repository_head_unborn(repo);
}
-int git_clone_into(git_repository *repo, git_remote *remote, const git_checkout_opts *co_opts, const char *branch, const git_signature *signature)
+int git_clone_into(git_repository *repo, git_remote *remote, const git_checkout_options *co_opts, const char *branch, const git_signature *signature)
{
int error = 0, old_fetchhead;
git_strarray refspecs;