git_submodule_reload

Reread submodule info from config, index, and HEAD.

Call this to reread cached submodule information for this submodule if you have reason to believe that it has changed.

extern (C) nothrow @nogc
int
git_submodule_reload

Parameters

submodule libgit2_d.types.git_submodule*

The submodule to reload

force int

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

Return Value

Type: int

0 on success, <0 on error

Meta