diff options
author | Sascha Cunz <sascha@babbelbox.org> | 2013-01-12 05:51:00 +0100 |
---|---|---|
committer | Sascha Cunz <sascha@babbelbox.org> | 2013-01-12 05:51:00 +0100 |
commit | f31cae8be9e6005148b2e5bafcb46a0d4c77b467 (patch) | |
tree | 08d923208fad0b1dc99427646d43ae5c7f48c11a /include | |
parent | f1d4a35e942afa1a494849e12dfc6631069daf65 (diff) | |
download | libgit2-f31cae8be9e6005148b2e5bafcb46a0d4c77b467.tar.gz |
Default git_clone_options' checkout strategy to GIT_CHECKOUT_SAFE_CREATE
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/clone.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/clone.h b/include/git2/clone.h index 9bb92ebdd..b54676874 100644 --- a/include/git2/clone.h +++ b/include/git2/clone.h @@ -82,7 +82,7 @@ typedef struct git_clone_options { } git_clone_options; #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 |