Adjust to clone_into signature change
This commit is contained in:
@@ -189,7 +189,7 @@ def clone_into(repo, remote, branch=None):
|
|||||||
and calling this function.
|
and calling this function.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
err = C.git_clone_into(repo._repo, remote._remote, ffi.NULL, to_str(branch))
|
err = C.git_clone_into(repo._repo, remote._remote, ffi.NULL, to_str(branch), ffi.NULL)
|
||||||
|
|
||||||
if remote._stored_exception:
|
if remote._stored_exception:
|
||||||
raise remote._stored_exception
|
raise remote._stored_exception
|
||||||
|
@@ -262,7 +262,8 @@ int git_clone_into(
|
|||||||
git_repository *repo,
|
git_repository *repo,
|
||||||
git_remote *remote,
|
git_remote *remote,
|
||||||
const git_checkout_options *co_opts,
|
const git_checkout_options *co_opts,
|
||||||
const char *branch);
|
const char *branch,
|
||||||
|
const git_signature *signature);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* git_config
|
* git_config
|
||||||
|
Reference in New Issue
Block a user