]> git.proxmox.com Git - libgit2.git/commitdiff
Default git_clone_options' checkout strategy to GIT_CHECKOUT_SAFE_CREATE
authorSascha Cunz <sascha@babbelbox.org>
Sat, 12 Jan 2013 04:51:00 +0000 (05:51 +0100)
committerSascha Cunz <sascha@babbelbox.org>
Sat, 12 Jan 2013 04:51:00 +0000 (05:51 +0100)
include/git2/clone.h

index 9bb92ebdd47e0746c7b18f0140c502112bb71408..b54676874928b33c377160396a54ccaa5012a62f 100644 (file)
@@ -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