Adjust to clone_into signature change
This commit is contained in:
parent
1d4031bacd
commit
d3af09e86d
pygit2
@ -189,7 +189,7 @@ def clone_into(repo, remote, branch=None):
|
||||
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:
|
||||
raise remote._stored_exception
|
||||
|
@ -262,7 +262,8 @@ int git_clone_into(
|
||||
git_repository *repo,
|
||||
git_remote *remote,
|
||||
const git_checkout_options *co_opts,
|
||||
const char *branch);
|
||||
const char *branch,
|
||||
const git_signature *signature);
|
||||
|
||||
/*
|
||||
* git_config
|
||||
|
Loading…
x
Reference in New Issue
Block a user