libgit2

git_config_new

Version:

Allocate a new configuration object

This object is empty, so you have to add a file to it before you can do anything with it.

Signature

int git_config_new(git_config **out);

Parameters

In
out

pointer to the new configuration

Returns

int

GIT_SUCCESS or an error code

Versions