mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 08:53:48 +00:00
Default git_clone_options' checkout strategy to GIT_CHECKOUT_SAFE_CREATE
This commit is contained in:
parent
f1d4a35e94
commit
f31cae8be9
@ -82,7 +82,7 @@ typedef struct git_clone_options {
|
|||||||
} git_clone_options;
|
} git_clone_options;
|
||||||
|
|
||||||
#define GIT_CLONE_OPTIONS_VERSION 1
|
#define GIT_CLONE_OPTIONS_VERSION 1
|
||||||
#define GIT_CLONE_OPTIONS_INIT {GIT_CLONE_OPTIONS_VERSION, {GIT_CHECKOUT_OPTS_VERSION, GIT_CHECKOUT_SAFE}}
|
#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, and checkout the branch pointed to by the remote
|
||||||
|
Loading…
Reference in New Issue
Block a user