diff options
author | Ben Straub <bs@github.com> | 2012-12-12 19:48:44 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-12-12 19:48:44 -0800 |
commit | 44f36f6e3ba40420d0a8bb2977e6ada2b735bc2b (patch) | |
tree | e876bd92421c8235ee198dd62553042b0de4761e /include | |
parent | b914e17d8268f836bcd8b785781ed24cbec1c29f (diff) | |
download | libgit2-44f36f6e3ba40420d0a8bb2977e6ada2b735bc2b.tar.gz |
Convert clone to use dangling remotes
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/clone.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/git2/clone.h b/include/git2/clone.h index 2a0272339..8de8e0e29 100644 --- a/include/git2/clone.h +++ b/include/git2/clone.h @@ -27,7 +27,7 @@ GIT_BEGIN_DECL * HEAD. * * @param out pointer that will receive the resulting repository object - * @param origin_url repository to clone from + * @param origin_remote a remote which will act as the initial fetch source * @param workdir_path local directory to clone to * @param fetch_progress_cb optional callback for fetch progress. Be aware that * this is called inline with network and indexing operations, so performance @@ -40,7 +40,7 @@ GIT_BEGIN_DECL */ GIT_EXTERN(int) git_clone( git_repository **out, - const char *origin_url, + git_remote *origin_remote, const char *workdir_path, git_checkout_opts *checkout_opts, git_transfer_progress_callback fetch_progress_cb, @@ -50,7 +50,7 @@ GIT_EXTERN(int) git_clone( * Create a bare clone of a remote repository. * * @param out pointer that will receive the resulting repository object - * @param origin_url repository to clone from + * @param origin_remote a remote which will act as the initial fetch source * @param dest_path local directory to clone to * @param fetch_progress_cb optional callback for fetch progress. Be aware that * this is called inline with network and indexing operations, so performance @@ -60,7 +60,7 @@ GIT_EXTERN(int) git_clone( */ GIT_EXTERN(int) git_clone_bare( git_repository **out, - const char *origin_url, + git_remote *origin_remote, const char *dest_path, git_transfer_progress_callback fetch_progress_cb, void *fetch_progress_payload); |