libgit2

git_submodule_reload_all

Version:

Reread all submodule info.

Call this to reload all cached submodule information for the repo.

Signature

int git_submodule_reload_all(git_repository *repo, int force);

Parameters

In
repo

The repository to reload submodule data for

int
In
force

Force full reload even if the data doesn't seem out of date

Returns

int

0 on success, < 0 on error

Versions