libgit2

git_submodule_set_fetch_recurse_submodules

Version:

Set the fetchRecurseSubmodules rule for a submodule in the configuration

This setting won't affect any existing instances.

Signature

int git_submodule_set_fetch_recurse_submodules(git_repository *repo, const char *name, git_submodule_recurse_t fetch_recurse_submodules);

Parameters

In
repo

the repository to affect

const char *
In
name

the submodule to configure

In
fetch_recurse_submodules

Boolean value

Returns

int

old value for fetchRecurseSubmodules

Versions