summaryrefslogtreecommitdiff
path: root/include/git2/submodule.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-02-14 11:44:05 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-02-27 13:50:44 -0500
commit96b82b11c64ffcf00e0d10b1bad1b6d1fbfc896c (patch)
treebcca5b2ad67134d451cc3e1d9fe2980cb58b68c6 /include/git2/submodule.h
parent14fec0aea3b57bdf29ab7a195061127f8a3edc30 (diff)
downloadlibgit2-96b82b11c64ffcf00e0d10b1bad1b6d1fbfc896c.tar.gz
checkout: remove `GIT_CHECKOUT_SAFE_CREATE` as a strategy
Diffstat (limited to 'include/git2/submodule.h')
-rw-r--r--include/git2/submodule.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/submodule.h b/include/git2/submodule.h
index f03ea2da8..1c139d0a7 100644
--- a/include/git2/submodule.h
+++ b/include/git2/submodule.h
@@ -137,7 +137,7 @@ typedef struct git_submodule_update_options {
/**
* The checkout strategy to use when the sub repository needs to
- * be cloned. Use GIT_CHECKOUT_SAFE_CREATE to create all files
+ * be cloned. Use GIT_CHECKOUT_SAFE to create all files
* in the working directory for the newly cloned repository.
*/
unsigned int clone_checkout_strategy;
@@ -152,8 +152,8 @@ typedef struct git_submodule_update_options {
#define GIT_SUBMODULE_UPDATE_OPTIONS_VERSION 1
#define GIT_SUBMODULE_UPDATE_OPTIONS_INIT \
{ GIT_CHECKOUT_OPTIONS_VERSION, \
- { GIT_CHECKOUT_OPTIONS_VERSION, GIT_CHECKOUT_SAFE}, \
- GIT_REMOTE_CALLBACKS_INIT, GIT_CHECKOUT_SAFE_CREATE }
+ { GIT_CHECKOUT_OPTIONS_VERSION, GIT_CHECKOUT_SAFE }, \
+ GIT_REMOTE_CALLBACKS_INIT, GIT_CHECKOUT_SAFE }
/**
* Initializes a `git_submodule_update_options` with default values.