diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-03 13:47:13 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-03 13:47:13 +0100 |
| commit | 99b68a2aecfaa24f252f265d61b230b8e2576dd2 (patch) | |
| tree | e54ed236c68b3d3cab3882634a0e6fb54f988617 /include/git2/submodule.h | |
| parent | 31bc6c044091c4d65f3a6fd7078beb260c210137 (diff) | |
| parent | 496b76d415b080712d7648fc6f1ff2e55d27a6a5 (diff) | |
| download | libgit2-99b68a2aecfaa24f252f265d61b230b8e2576dd2.tar.gz | |
Merge pull request #2908 from ethomson/safe_create
Allow checkout to handle newly cloned repositories, remove `GIT_CHECKOUT_SAFE_CREATE`
Diffstat (limited to 'include/git2/submodule.h')
| -rw-r--r-- | include/git2/submodule.h | 6 |
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. |
