diff options
author | Josh Leeb-du Toit <josh.leebdutoit@gmail.com> | 2016-09-28 14:45:18 +1000 |
---|---|---|
committer | Josh Leeb-du Toit <josh.leebdutoit@gmail.com> | 2016-10-10 09:50:24 +1100 |
commit | 3e22bb71f2ca6f632059e53414dd19fb0349c482 (patch) | |
tree | 1cad8e57ba697538b96a5b592c1c8baaf198b51e /include/git2/submodule.h | |
parent | dc976e72e9f73a3e74afd8d8abbe8483175ca49e (diff) | |
download | libgit2-3e22bb71f2ca6f632059e53414dd19fb0349c482.tar.gz |
Update submodule update opts init as per code review
Update the `GIT_SUBMODULE_UPDATE_OPTIONS_INIT` definition with the
correct values after removing `clone_checkout_strategy` in
`git_submodule_update_options`.
Diffstat (limited to 'include/git2/submodule.h')
-rw-r--r-- | include/git2/submodule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/submodule.h b/include/git2/submodule.h index ab5d7b6f5..b2b3039fe 100644 --- a/include/git2/submodule.h +++ b/include/git2/submodule.h @@ -157,7 +157,7 @@ typedef struct git_submodule_update_options { #define GIT_SUBMODULE_UPDATE_OPTIONS_INIT \ { GIT_SUBMODULE_UPDATE_OPTIONS_VERSION, \ { GIT_CHECKOUT_OPTIONS_VERSION, GIT_CHECKOUT_SAFE }, \ - GIT_FETCH_OPTIONS_INIT, GIT_CHECKOUT_SAFE } + GIT_FETCH_OPTIONS_INIT, 1 } /** * Initializes a `git_submodule_update_options` with default values. |