mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 22:55:47 +00:00
clone: mention clone_into in the clone documentation
Make the difference more explicit.
This commit is contained in:
parent
fdc7e5e35e
commit
36a241acbb
@ -61,8 +61,11 @@ typedef struct git_clone_options {
|
|||||||
#define GIT_CLONE_OPTIONS_INIT {GIT_CLONE_OPTIONS_VERSION, {GIT_CHECKOUT_OPTS_VERSION, GIT_CHECKOUT_SAFE_CREATE}}
|
#define GIT_CLONE_OPTIONS_INIT {GIT_CLONE_OPTIONS_VERSION, {GIT_CHECKOUT_OPTS_VERSION, GIT_CHECKOUT_SAFE_CREATE}}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clone a remote repository, and checkout the branch pointed to by the remote
|
* Clone a remote repository.
|
||||||
* HEAD.
|
*
|
||||||
|
* This version handles the simple case. If you'd like to create the
|
||||||
|
* repository or remote with non-default settings, you can create and
|
||||||
|
* configure them and then use `git_clone_into()`.
|
||||||
*
|
*
|
||||||
* @param out pointer that will receive the resulting repository object
|
* @param out pointer that will receive the resulting repository object
|
||||||
* @param url the remote repository to clone
|
* @param url the remote repository to clone
|
||||||
|
Loading…
Reference in New Issue
Block a user