diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-02-14 11:44:05 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2015-02-27 13:50:44 -0500 |
commit | 96b82b11c64ffcf00e0d10b1bad1b6d1fbfc896c (patch) | |
tree | bcca5b2ad67134d451cc3e1d9fe2980cb58b68c6 /include/git2/clone.h | |
parent | 14fec0aea3b57bdf29ab7a195061127f8a3edc30 (diff) | |
download | libgit2-96b82b11c64ffcf00e0d10b1bad1b6d1fbfc896c.tar.gz |
checkout: remove `GIT_CHECKOUT_SAFE_CREATE` as a strategy
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 |