libgit2

git_config_open_global

Version:

Open the global configuration file

Utility wrapper that calls git_config_find_global and opens the located file, if it exists.

Signature

int git_config_open_global(git_config **out);

Parameters

In
out

Pointer to store the config instance

Returns

int

0 or an error code

Versions