mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-02 22:49:04 +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}}
|
||||
|
||||
/**
|
||||
* Clone a remote repository, and checkout the branch pointed to by the remote
|
||||
* HEAD.
|
||||
* Clone a remote repository.
|
||||
*
|
||||
* 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 url the remote repository to clone
|
||||
|
Loading…
Reference in New Issue
Block a user