diff options
Diffstat (limited to 'include/git2/clone.h')
-rw-r--r-- | include/git2/clone.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/git2/clone.h b/include/git2/clone.h index 464408534..1cee516a1 100644 --- a/include/git2/clone.h +++ b/include/git2/clone.h @@ -106,9 +106,7 @@ typedef struct git_clone_options { /** * These options are passed to the checkout step. To disable * checkout, set the `checkout_strategy` to - * `GIT_CHECKOUT_NONE`. Generally you will want the use - * GIT_CHECKOUT_SAFE_CREATE to create all files in the working - * directory for the newly cloned repository. + * `GIT_CHECKOUT_NONE`. */ git_checkout_options checkout_opts; @@ -173,7 +171,9 @@ 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_OPTIONS_VERSION, GIT_CHECKOUT_SAFE_CREATE}, GIT_REMOTE_CALLBACKS_INIT} +#define GIT_CLONE_OPTIONS_INIT { GIT_CLONE_OPTIONS_VERSION, \ + { GIT_CHECKOUT_OPTIONS_VERSION, GIT_CHECKOUT_SAFE }, \ + GIT_REMOTE_CALLBACKS_INIT } /** * Initializes a `git_clone_options` with default values. Equivalent to |