git_submodule_update_options.checkout_opts

These options are passed to the checkout step. To disable checkout, set the checkout_strategy to git_checkout_strategy_t.GIT_CHECKOUT_NONE. Generally you will want the use git_checkout_strategy_t.GIT_CHECKOUT_SAFE to update files in the working directory.

struct git_submodule_update_options
libgit2_d.checkout.git_checkout_options checkout_opts;

Meta