libgit2

git_config_refresh

Version:

Reload changed config files

A config file may be changed on disk out from under the in-memory config object. This function causes us to look for files that have been modified since we last loaded them and refresh the config with the latest information.

Signature

int git_config_refresh(git_config *cfg);

Parameters

In
cfg

The configuration to refresh

Returns

int

0 or an error code

Versions